I suggest you ...

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
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • nicholas.blumhardtAdminnicholas.blumhardt (Admin, Autofac) commented  ·   ·  Flag as inappropriate

        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!

      Knowledge Base and Helpdesk