diff --git a/samples/MvcSample.Web/Startup.cs b/samples/MvcSample.Web/Startup.cs index bb2aab1a04..b6cedc98b8 100644 --- a/samples/MvcSample.Web/Startup.cs +++ b/samples/MvcSample.Web/Startup.cs @@ -4,7 +4,6 @@ using Microsoft.AspNet.ConfigurationModel; using Microsoft.AspNet.DependencyInjection; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Template; using Microsoft.Net.Runtime; namespace MvcSample.Web diff --git a/samples/MvcSample/Startup.cs b/samples/MvcSample/Startup.cs index 4f9dc21257..b0faac7132 100644 --- a/samples/MvcSample/Startup.cs +++ b/samples/MvcSample/Startup.cs @@ -5,7 +5,6 @@ using Microsoft.AspNet.ConfigurationModel; using Microsoft.AspNet.DependencyInjection; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Template; using Microsoft.Net.Runtime; using Owin; diff --git a/src/Microsoft.AspNet.Mvc.Core/MvcApplication.cs b/src/Microsoft.AspNet.Mvc.Core/MvcApplication.cs index 9284a8ae00..5390928d71 100644 --- a/src/Microsoft.AspNet.Mvc.Core/MvcApplication.cs +++ b/src/Microsoft.AspNet.Mvc.Core/MvcApplication.cs @@ -45,10 +45,11 @@ namespace Microsoft.AspNet.Mvc } } - public void BindPath(BindPathContext context) + public string BindPath(BindPathContext context) { // For now just allow any values to target this application. context.IsBound = true; + return null; } public async Task RouteAsync(RouteContext context)