Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-04 14:38:26 +03:00
parent da091104b7
commit fc236b07e2
2 changed files with 1 additions and 3 deletions

View File

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