Reacting to Hosting API changes
This commit is contained in:
parent
5e9bbc5650
commit
adfb3e5aff
|
|
@ -27,6 +27,7 @@ namespace StaticFilesSample
|
||||||
{
|
{
|
||||||
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": "StaticFileSample"
|
"web": "StaticFileSample"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
|
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
|
||||||
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
|
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
|
||||||
"Microsoft.Extensions.Logging.Console": "1.0.0-*"
|
"Microsoft.Extensions.Logging.Console": "1.0.0-*"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue