Changes due to changes in routing take 2

This commit is contained in:
Ryan Nowak 2014-03-06 12:26:09 -08:00
parent 905e84ab0a
commit 9d0cea17dd
3 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ using Microsoft.AspNet.ConfigurationModel;
using Microsoft.AspNet.DependencyInjection; using Microsoft.AspNet.DependencyInjection;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Template;
using Microsoft.Net.Runtime; using Microsoft.Net.Runtime;
namespace MvcSample.Web namespace MvcSample.Web

View File

@ -5,7 +5,6 @@ using Microsoft.AspNet.ConfigurationModel;
using Microsoft.AspNet.DependencyInjection; using Microsoft.AspNet.DependencyInjection;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Template;
using Microsoft.Net.Runtime; using Microsoft.Net.Runtime;
using Owin; using Owin;

View File

@ -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. // For now just allow any values to target this application.
context.IsBound = true; context.IsBound = true;
return null;
} }
public async Task RouteAsync(RouteContext context) public async Task RouteAsync(RouteContext context)