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 Migration 2017-05-05 17:12:36 -07:00
testroot
ConfigureBuilderTests.cs
HostingApplicationTests.cs
HostingEnvironmentExtensionsTests.cs
Microsoft.AspNetCore.Hosting.Tests.csproj Chain hosting timeout to StopAsync cancellation token (#1078) 2017-05-19 16:32:45 -07:00
StartupManagerTests.cs Create a scoped service provider for the call to Configure (#1106) 2017-06-19 14:14:20 -07:00
WebHostBuilderTests.cs Merge branch 'rel/2.0.0-preview2' into dev 2017-06-02 12:23:47 -07:00
WebHostConfigurationsTests.cs Use EnvironmentName instead of magic string (#1065) 2017-05-10 15:20:40 -07:00
WebHostTests.cs Make IHostedServiceAsync 2017-05-26 10:52:08 -07:00