React to Hosting API changes.
This commit is contained in:
parent
5bf58a08e9
commit
bab41f2fbd
|
|
@ -23,6 +23,7 @@ namespace CorsMiddlewareWebSite
|
||||||
{
|
{
|
||||||
var application = new WebApplicationBuilder()
|
var application = new WebApplicationBuilder()
|
||||||
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
|
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
|
||||||
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.Cors": "6.0.0-*",
|
"Microsoft.AspNet.Cors": "6.0.0-*",
|
||||||
|
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
|
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue