Reacting to hosting API changes

This commit is contained in:
John Luo 2016-01-12 18:07:17 -08:00
parent 6ba05add3f
commit c5cab7a786
19 changed files with 33 additions and 14 deletions

View File

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

View File

@ -6,6 +6,7 @@
"web": "ActionConstraintSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},

View File

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

View File

@ -6,6 +6,7 @@
"web": "CustomRouteSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},

View File

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

View File

@ -7,6 +7,7 @@
},
"resource": "EmbeddedResources/**",
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.FileProviders.Embedded": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"

View File

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

View File

@ -6,6 +6,7 @@
"web": "FormatFilterSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"

View File

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

View File

@ -1,16 +1,17 @@
{
"compilationOptions": {
"emitEntryPoint": true
},
"commands": {
"web": "InlineConstraintSample.Web"
},
"dependencies": {
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
"compilationOptions": {
"emitEntryPoint": true
},
"commands": {
"web": "InlineConstraintSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}

View File

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

View File

@ -6,6 +6,7 @@
"web": "JsonPatchSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},

View File

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

View File

@ -6,6 +6,7 @@
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
},

View File

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

View File

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

View File

@ -6,6 +6,7 @@
"web": "MvcSubAreaSample.Web"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*",

View File

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

View File

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