Closed davidfowl closed 5 years ago
Today the TestHost builds and starts the IWebHostBuilder directly in it's constructor https://github.com/aspnet/Hosting/blob/d7b9fd480765bdc01f06441f308fb288e6001049/src/Microsoft.AspNetCore.TestHost/TestServer.cs#L41-L42. This won't work when using ConfigureWebHost. We may need to revisit the design to be something like this https://github.com/aspnet/Hosting/issues/973.
Today the TestHost builds and starts the IWebHostBuilder directly in it's constructor https://github.com/aspnet/Hosting/blob/d7b9fd480765bdc01f06441f308fb288e6001049/src/Microsoft.AspNetCore.TestHost/TestServer.cs#L41-L42. This won't work when using ConfigureWebHost. We may need to revisit the design to be something like this https://github.com/aspnet/Hosting/issues/973.