React to Kestrel extensions
This commit is contained in:
parent
272343c3ad
commit
8e92dd634e
|
|
@ -30,7 +30,7 @@ namespace StaticFilesSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
.UseDefaultHostingConfiguration(args)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseKestrel()
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
@ -38,4 +38,4 @@ namespace StaticFilesSample
|
||||||
host.Run();
|
host.Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue