Please excuse the confusing name;)
We created an ASP.NET MVC application to replace our "old" ASP.NET web form monster. We still want to support some of the old URLs used there, because they can still be hosted in E-Mails, etc. Somewhere.
For example: our old system used the URL ~ / Password.aspx, the URL of the new MVC system was ~ / Home / Password.
To support these old URLs, we simply added them to the route table, e.g.
routes.MapRoute(
"Password",
"Password.aspx",
new {
controller = "Home",
action = "Password",
id = ""
}
);
, , Url.Action( "", "" ) , URL ( "~/Password.aspx" "~/Home/Password" ), URL-, , MVC - "" URL-, / .
?