Reacting to Kestrel extensions

This commit is contained in:
John Luo 2016-03-30 16:37:34 -07:00
parent b2bf1a46f5
commit c08e850665
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,7 @@ namespace IdentitySample
{
var host = new WebHostBuilder()
.UseDefaultHostingConfiguration(args)
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseKestrel()
.UseStartup<Startup>()
.Build();
@ -128,3 +128,4 @@ namespace IdentitySample
}
}
}