Reacting to Hosting API changes

This commit is contained in:
John Luo 2016-01-12 16:03:24 -08:00
parent 80fa2908bd
commit 807cd77307
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -5,6 +5,7 @@
"Microsoft.AspNet.Antiforgery": "1.0.0-*",
"Microsoft.AspNet.Http.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Routing.Extensions": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*",