This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
Add IWebHostBuilder.UseKestrel(options) overload to configure Kestrel #720
Closed
Description
Copied from #713:
var host = new WebHostBuilder()
.UseKestrel(options =>
{
options.NoDelay = true;
options.ThreadCount = 4;
options.UseHttps(...);
})
.UseStartup<StartupHelloWorld>()
.Build();
host.Run();
We should also remove these as a result of this:
It clears up the fact that these aren't actually pieces of middleware but server configuration.