Reacting to Hosting changes

This commit is contained in:
John Luo 2016-03-22 11:50:07 -07:00
parent a8933e5016
commit 0aa42243a0
1 changed files with 1 additions and 1 deletions

View File

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