Autofac: Reference from a SingleInstance'd type to a HttpRequestScoped
- by Michael Wagner
I've got an application where a shared object needs a reference to a per-request object.
Shared: Engine
|
Per Req: IExtensions()
|
Request
If i try to inject the IExtensions directly into the constructor of Engine, even as Lazy(Of IExtension), I get a "No scope matching [Request] is visible…