Reacting to hosting rename
This commit is contained in:
parent
77ca6be6cb
commit
5135a8938e
|
|
@ -25,3 +25,4 @@ nuget.exe
|
||||||
*.*sdf
|
*.*sdf
|
||||||
*.ipch
|
*.ipch
|
||||||
project.lock.json
|
project.lock.json
|
||||||
|
/.vs/
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,13 @@ namespace ServerComparison.TestSites
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var application = new WebApplicationBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
|
.UseDefaultConfiguration(args)
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup("ServerComparison.TestSites")
|
.UseStartup("ServerComparison.TestSites")
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
application.Run();
|
host.Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue