Reacting to Hosting changes
This commit is contained in:
parent
a8933e5016
commit
0aa42243a0
|
|
@ -29,7 +29,7 @@ namespace StaticFilesSample
|
||||||
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>()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue