If I have the following route defined in my only area:-
context.MapRoute(
"Search_default",
"Search/{controller}/{action}/{id}",
new {controller = "Search", action = "Index", id = UrlParameter.Optional}
);
and I have the following action methods in the SearchController…
public ViewResult Index(string query, string prefs) {..}
public PartialViewResult Foo(SearchPreferences searchPreferences) { .. }
what would the expected ROUTES be, if a person was to manually type the route in their browser?
(I’m getting confused with the route AREA and the route CONTROLLER names .. seeing if they are expected to exist in the url or not).
I believe the following routes would resolve: