Add 'UseServer'
This commit is contained in:
parent
461fd40251
commit
c9d8a1330e
|
|
@ -80,6 +80,7 @@ namespace SessionSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue