React to hosting API changes.
This commit is contained in:
parent
09fe466c56
commit
c1359a2166
|
|
@ -80,6 +80,7 @@ namespace SessionSample
|
||||||
{
|
{
|
||||||
var application = new WebApplicationBuilder()
|
var application = new WebApplicationBuilder()
|
||||||
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
|
.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
|
||||||
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
"web": "SessionSample"
|
"web": "SessionSample"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
|
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Session": "1.0.0-*",
|
"Microsoft.AspNet.Session": "1.0.0-*",
|
||||||
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue