Add Support to create custom IScope
Currently it has the IScope but internally it uses the enum which restricts to create custom scope such as PerWebRequest. The current recommended way to create a child container is very similar to Unity but not like other container.
7
votes
1 comment
-
Adminnicholas.blumhardt
(Admin, Autofac)
commented
Howdy, It might be worth checking out HttpRequestScoped() in the Autofac.Integration.Web project. Autofac does allow creation of custom scopes, but the scope hierarchy has to be represented explicitly using child lifetimes scopes. Cheers!