Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-03 02:12:37 +03:00
parent 6f5bddea69
commit 3590cacd3f
2 changed files with 1 additions and 3 deletions

View File

@ -157,6 +157,7 @@ $@"<!doctype html>
{
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"
}