v4.1.0
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.