.Route versions are used to create links based on route (name) configurations.
(: global.asax)
routes.MapRoute(
"faq",
"pages/faq",
new { controller = "Faq", action = "Index" }
);
- Html.ActionLink
@Ajax.ActionLink(linkText: "something", controller: "Faq", action: "Index")
- Html.RouteLink
@Ajax.RouteLink(linkText: "something", routeName: "faq")