aspnetcore/test/Microsoft.AspNetCore.Hostin...
David Fowler e88ad84a72 Create a scoped service provider for the call to Configure (#1106)
* Create a scoped service provider for the call to Configure
- This allows scoped dependencies to be injected into the Configure method.
It means you can resolve the DbContext or any other scoped service without
the hassle of the CreateScope boiler plate. As a side effect, it also makes
Startup.Configure a bit more testable.
2017-06-19 14:14:20 -07:00
..
Fakes Create a scoped service provider for the call to Configure (#1106) 2017-06-19 14:14:20 -07:00
Internal
testroot
ConfigureBuilderTests.cs
HostingApplicationTests.cs
HostingEnvironmentExtensionsTests.cs
Microsoft.AspNetCore.Hosting.Tests.csproj
StartupManagerTests.cs Create a scoped service provider for the call to Configure (#1106) 2017-06-19 14:14:20 -07:00
WebHostBuilderTests.cs
WebHostConfigurationsTests.cs
WebHostTests.cs