Reacting to Hosting API changes

This commit is contained in:
John Luo 2016-01-12 16:07:18 -08:00
parent 5e9bbc5650
commit adfb3e5aff
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -6,6 +6,7 @@
"web": "StaticFileSample"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*"