What version of MVC are you using? The route name should be the first MapRoute () parameter, as I recall in MCV Beta. Anyway, given your goal of capturing a path, I would do s / t like:
routes.MapRoute("AreaRoute", "Area/{*values}", new {controller = "Area", action = "Index"} );
And in the Area controller:
public string Index(string values)
{
...
}
source
share