React to hosting API changes.

This commit is contained in:
Chris R 2016-01-12 14:22:45 -08:00
parent 5c2bdc8923
commit 30b71fb8c5
2 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,7 @@ $@"<!doctype html>
{ {
var application = new WebApplicationBuilder() var application = new WebApplicationBuilder()
.UseConfiguration(WebApplicationConfiguration.GetDefault(args)) .UseConfiguration(WebApplicationConfiguration.GetDefault(args))
.UseIISPlatformHandlerUrl()
.UseStartup<Startup>() .UseStartup<Startup>()
.Build(); .Build();

View File

@ -2,6 +2,7 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Localization": "1.0.0-*", "Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*" "Microsoft.AspNet.Server.Kestrel": "1.0.0-*"