Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-04 14:34:01 +03:00
parent 6f5e764e87
commit b8bc1e2d46
4 changed files with 2 additions and 6 deletions

View File

@ -34,6 +34,7 @@ namespace HttpOverridesSample
{
var host = new WebHostBuilder()
.UseDefaultConfiguration(args)
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseIISPlatformHandlerUrl()
.UseStartup<Startup>()
.Build();

View File

@ -1,3 +0,0 @@
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}

View File

@ -39,6 +39,7 @@ namespace ResponseBufferingSample
{
var host = new WebHostBuilder()
.UseDefaultConfiguration(args)
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseIISPlatformHandlerUrl()
.UseStartup<Startup>()
.Build();

View File

@ -1,3 +0,0 @@
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}