React to hosting API changes.

This commit is contained in:
Chris R 2016-01-12 14:31:03 -08:00
parent 09fe466c56
commit c1359a2166
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -6,6 +6,7 @@
"web": "SessionSample"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNet.Session": "1.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",