i want have mvc actions plus file extension like /Home/Index.aspx which route to Index action of Home Controller. can everybody help me. have everybody any opinion or guideline?
+3
A:
routes.MapRoute(
"RouteName", // Route name
"{controller}/{action}.aspx", // URL with parameters
new { controller = "Home", action = "Index"} // Parameter defaults
);
Can you not do this
Israfel
2010-01-08 09:33:06
Html.ActionLink can't render links URL like your code. anybody have any specially implemented of extension method like ActionLink to do this correctly?
Sadegh
2010-01-09 12:16:55