Reacting to hosting rename

This commit is contained in:
John Luo 2016-01-17 16:43:28 -08:00
parent 77ca6be6cb
commit 5135a8938e
2 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@ -24,4 +24,5 @@ nuget.exe
*.ncrunchsolution
*.*sdf
*.ipch
project.lock.json
project.lock.json
/.vs/

View File

@ -9,13 +9,13 @@ namespace ServerComparison.TestSites
{
public static void Main(string[] args)
{
var application = new WebApplicationBuilder()
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
var host = new WebHostBuilder()
.UseDefaultConfiguration(args)
.UseIISPlatformHandlerUrl()
.UseStartup("ServerComparison.TestSites")
.Build();
application.Run();
host.Run();
}
}
}