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