React to Hosting API changes.

This commit is contained in:
Chris R 2016-01-12 15:27:00 -08:00
parent 5bf58a08e9
commit bab41f2fbd
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ namespace CorsMiddlewareWebSite
{
var application = new WebApplicationBuilder()
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
.UseIISPlatformHandlerUrl()
.UseStartup<Startup>()
.Build();

View File

@ -7,6 +7,7 @@
},
"dependencies": {
"Microsoft.AspNet.Cors": "6.0.0-*",
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},
"frameworks": {