Reacting to Kestrel extensions
This commit is contained in:
parent
ea4b94a757
commit
d0ed4f8688
|
|
@ -70,7 +70,7 @@ namespace AntiforgerySample
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
@ -79,3 +79,4 @@ namespace AntiforgerySample
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue