Reacting to Hosting changes

This commit is contained in:
John Luo 2016-03-22 11:55:44 -07:00
parent 94cefde3ec
commit 4d64c1849d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace AntiforgerySample
public static void Main(string[] args) public static void Main(string[] args)
{ {
var host = new WebHostBuilder() var host = new WebHostBuilder()
.UseDefaultConfiguration(args) .UseDefaultHostingConfiguration(args)
.UseServer("Microsoft.AspNetCore.Server.Kestrel") .UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseIISPlatformHandlerUrl() .UseIISPlatformHandlerUrl()
.UseStartup<Startup>() .UseStartup<Startup>()