aspnetcore/test/Microsoft.AspNetCore.Hostin.../Fakes
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
..
CustomLoggerFactory.cs Simplify WebHostBuilderTests.CanUseCustomLoggerFactory. 2017-04-05 11:23:54 -07:00
FakeOptions.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
FakeService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFactoryService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeEveryService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeScopedService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeServiceInstance.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeSingletonService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
IFakeStartupCallback.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
INonexistentService.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
Startup.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupBase.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupBoom.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupConfigureServicesThrows.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupConfigureThrows.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupCtorThrows.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupNoServices.cs This change introduces a new service `IStartup` that can be registered in the hosting container to override any startup logic. `UseStartup` overloads have been changed to detect `IStartup` and directly put it in the container, or to wrapping it with a `ConventionBasedStartup` implementation to preserve the existing behavior. 2016-04-18 21:33:03 -07:00
StartupPrivateConfigure.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupStaticCtorThrows.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupThrowTypeLoadException.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupTwoConfigureServices.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupTwoConfigures.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupWithConfigureServices.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupWithConfigureServicesNotResolved.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupWithHostingEnvironment.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupWithILoggerFactory.cs Deterministically dispose instances created by WebHostBuilder (#868) 2016-10-31 11:59:57 -07:00
StartupWithNullConfigureServices.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00
StartupWithScopedServices.cs Create a scoped service provider for the call to Configure (#1106) 2017-06-19 14:14:20 -07:00
StartupWithServices.cs Rename AspNet 5 file contents. 2016-01-22 12:21:40 -08:00