Skip to content

v4.1.0

Compare
Choose a tag to compare
@tillig tillig released this 10 Jul 21:06
· 56 commits to develop since this release

Resolved #10 - Added ability to create the per-request lifetime scope outside the Autofac OWIN middleware:

  • Added IOwinContext.SetAutofacLifetimeScope extension.
  • Added IAppBuilder.UseAutofacLifetimeScopeInjector extension that takes a lifetime scope provider function rather than just a scope instance.
  • Ensuring that if a scope is provided inside the current OWIN context that Autofac won't try to stomp it with its own per-request scope.