-
Notifications
You must be signed in to change notification settings - Fork 317
API review: IScopedInstance needs design discussion #186
Comments
@davidfowl a quick search of Universe shows |
Yeah when I did the rename i think it was only MVC/Entropy as well. +1 to just move these to MVC |
Some more context in Issue #49, it made more sense in DI when HttpContext was using this as part of the RequestContainer/Hosting code. But now that hosting is using its own HttpContextAccessor, there doesn't seem to be a reason to keep this shared anymore |
Yea, I think step 1 is to remove the it from DI and step 2 is to figure out if MVC should be using this pattern at all. Last we discussed it it was an anti pattern like ITypeActivator. |
Who would be doing the first step (i.e. remove it from DI and move it to MVC temporarily)? @rynowak |
I can do step 1 if needed, it shouldn't be hard |
👍 Thanks! |
The text was updated successfully, but these errors were encountered: