Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-04 13:37:04 +03:00
parent 48ee352022
commit b1df299ec3
2 changed files with 1 additions and 3 deletions

View File

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