Add 'UseServer'

This commit is contained in:
Hisham Bin Ateya 2016-02-04 14:24:17 +03:00 committed by John Luo
parent edb1a1045a
commit 6cc6f4d88e
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -1,4 +0,0 @@
{
"server": "Microsoft.AspNetCore.Server.Kestrel",
"server.urls": "http://localhost:41532/"
}