Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-04 13:46:54 +03:00 committed by John Luo
parent ca6bef4c11
commit 1da365ce4c
2 changed files with 1 additions and 3 deletions

View File

@ -48,6 +48,7 @@ namespace IISSample
{
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"
}