React to Hosting changes

This commit is contained in:
John Luo 2016-03-22 12:04:03 -07:00
parent 007821bf1b
commit c69a159672
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -11,7 +11,7 @@ namespace LocalizationWebsite
{
var host = new WebHostBuilder()
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseDefaultConfiguration(args)
.UseDefaultHostingConfiguration(args)
.UseStartup("LocalizationWebsite")
.Build();