React to Hosting changes

This commit is contained in:
John Luo 2016-03-22 12:06:10 -07:00
parent 069220a85a
commit 97b775de2a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ namespace SessionSample
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>()