From 02d5eaee62fee0a4da0fe74fa00f8c79cb1ce087 Mon Sep 17 00:00:00 2001 From: Chris R Date: Tue, 12 Jan 2016 15:34:44 -0800 Subject: [PATCH] React to hosting API changes. --- samples/RoutingSample.Web/Startup.cs | 1 + samples/RoutingSample.Web/project.json | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/RoutingSample.Web/Startup.cs b/samples/RoutingSample.Web/Startup.cs index db2907a9f7..413023479f 100644 --- a/samples/RoutingSample.Web/Startup.cs +++ b/samples/RoutingSample.Web/Startup.cs @@ -66,6 +66,7 @@ namespace RoutingSample.Web { var application = new WebApplicationBuilder() .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/RoutingSample.Web/project.json b/samples/RoutingSample.Web/project.json index 1a80f35437..7bdfe23758 100644 --- a/samples/RoutingSample.Web/project.json +++ b/samples/RoutingSample.Web/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", "Microsoft.AspNet.Routing.Extensions": "1.0.0-*" },