diff --git a/samples/ActionConstraintSample.Web/Startup.cs b/samples/ActionConstraintSample.Web/Startup.cs index 286b204fb5..c29c28abe9 100644 --- a/samples/ActionConstraintSample.Web/Startup.cs +++ b/samples/ActionConstraintSample.Web/Startup.cs @@ -31,6 +31,7 @@ namespace ActionConstraintSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/ActionConstraintSample.Web/project.json b/samples/ActionConstraintSample.Web/project.json index f157745a87..230e1556f4 100644 --- a/samples/ActionConstraintSample.Web/project.json +++ b/samples/ActionConstraintSample.Web/project.json @@ -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-*" }, diff --git a/samples/CustomRouteSample.Web/Startup.cs b/samples/CustomRouteSample.Web/Startup.cs index 8d85b7fb52..f378980651 100644 --- a/samples/CustomRouteSample.Web/Startup.cs +++ b/samples/CustomRouteSample.Web/Startup.cs @@ -28,6 +28,7 @@ namespace CustomRouteSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/CustomRouteSample.Web/project.json b/samples/CustomRouteSample.Web/project.json index 214e29807a..d778a4fdf2 100644 --- a/samples/CustomRouteSample.Web/project.json +++ b/samples/CustomRouteSample.Web/project.json @@ -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-*" }, diff --git a/samples/EmbeddedViewSample.Web/Startup.cs b/samples/EmbeddedViewSample.Web/Startup.cs index 4d24da892b..63d7af7ff6 100644 --- a/samples/EmbeddedViewSample.Web/Startup.cs +++ b/samples/EmbeddedViewSample.Web/Startup.cs @@ -45,6 +45,7 @@ namespace EmbeddedViewSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/EmbeddedViewSample.Web/project.json b/samples/EmbeddedViewSample.Web/project.json index dfa7a073dd..7cf7e3935e 100644 --- a/samples/EmbeddedViewSample.Web/project.json +++ b/samples/EmbeddedViewSample.Web/project.json @@ -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-*" diff --git a/samples/FormatFilterSample.Web/Startup.cs b/samples/FormatFilterSample.Web/Startup.cs index 08948b2b1c..9d6028908a 100644 --- a/samples/FormatFilterSample.Web/Startup.cs +++ b/samples/FormatFilterSample.Web/Startup.cs @@ -41,6 +41,7 @@ namespace FormatFilterSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/FormatFilterSample.Web/project.json b/samples/FormatFilterSample.Web/project.json index c5937d7924..13b5a6556d 100644 --- a/samples/FormatFilterSample.Web/project.json +++ b/samples/FormatFilterSample.Web/project.json @@ -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-*" diff --git a/samples/InlineConstraintSample.Web/Startup.cs b/samples/InlineConstraintSample.Web/Startup.cs index 2b45922ce2..101e7ab2d8 100644 --- a/samples/InlineConstraintSample.Web/Startup.cs +++ b/samples/InlineConstraintSample.Web/Startup.cs @@ -40,6 +40,7 @@ namespace InlineConstraintSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/InlineConstraintSample.Web/project.json b/samples/InlineConstraintSample.Web/project.json index 05b0f5a635..eede289cda 100644 --- a/samples/InlineConstraintSample.Web/project.json +++ b/samples/InlineConstraintSample.Web/project.json @@ -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": { } + } } diff --git a/samples/JsonPatchSample.Web/Startup.cs b/samples/JsonPatchSample.Web/Startup.cs index 149e209962..699e338737 100644 --- a/samples/JsonPatchSample.Web/Startup.cs +++ b/samples/JsonPatchSample.Web/Startup.cs @@ -26,6 +26,7 @@ namespace JsonPatchSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/JsonPatchSample.Web/project.json b/samples/JsonPatchSample.Web/project.json index 5f51fc0bf9..1955cec846 100644 --- a/samples/JsonPatchSample.Web/project.json +++ b/samples/JsonPatchSample.Web/project.json @@ -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-*" }, diff --git a/samples/LocalizationSample.Web/Startup.cs b/samples/LocalizationSample.Web/Startup.cs index ba3015f402..ec5cb6a7f7 100644 --- a/samples/LocalizationSample.Web/Startup.cs +++ b/samples/LocalizationSample.Web/Startup.cs @@ -44,6 +44,7 @@ namespace LocalizationSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/LocalizationSample.Web/project.json b/samples/LocalizationSample.Web/project.json index dadcd08be8..d859e82d7f 100644 --- a/samples/LocalizationSample.Web/project.json +++ b/samples/LocalizationSample.Web/project.json @@ -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-*" }, diff --git a/samples/MvcSandbox/Startup.cs b/samples/MvcSandbox/Startup.cs index 9d1a4ffff6..99d67dd586 100644 --- a/samples/MvcSandbox/Startup.cs +++ b/samples/MvcSandbox/Startup.cs @@ -34,6 +34,7 @@ namespace MvcSandbox { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/MvcSubAreaSample.Web/Startup.cs b/samples/MvcSubAreaSample.Web/Startup.cs index 53b4213be7..6321e04381 100644 --- a/samples/MvcSubAreaSample.Web/Startup.cs +++ b/samples/MvcSubAreaSample.Web/Startup.cs @@ -40,6 +40,7 @@ namespace MvcSubAreaSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/MvcSubAreaSample.Web/project.json b/samples/MvcSubAreaSample.Web/project.json index d0d1b955cf..c05ce10531 100644 --- a/samples/MvcSubAreaSample.Web/project.json +++ b/samples/MvcSubAreaSample.Web/project.json @@ -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-*", diff --git a/samples/TagHelperSample.Web/Startup.cs b/samples/TagHelperSample.Web/Startup.cs index 99df0d2c38..8b6b87c14e 100644 --- a/samples/TagHelperSample.Web/Startup.cs +++ b/samples/TagHelperSample.Web/Startup.cs @@ -38,6 +38,7 @@ namespace TagHelperSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/TagHelperSample.Web/project.json b/samples/TagHelperSample.Web/project.json index 210bc57a1b..ff26f0996e 100644 --- a/samples/TagHelperSample.Web/project.json +++ b/samples/TagHelperSample.Web/project.json @@ -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-*",