This project is read-only.


Allow Web Api Dependency Resolver to run in an existing scope


The SimpleInjectorWebApiDependencyResolver will always start a new execution context scope when its BeginScope method is called. Although this is usually not a problem, it makes integrating with OWIN more difficult, since part of the OWIN pipeline is executed before and after that scope. By letting the dependency resolver using the existing scope, the complete request can run in the same scope and this allows sharing instances throughout the complete request.
Closed Apr 10, 2015 at 3:54 PM by dot_NET_Junkie


dot_NET_Junkie wrote Mar 9, 2015 at 10:47 PM

Fixed in changeset fad15fd272763a979fecaa65a06445f08ff655c9