Account for simple url rewriting in ASP.NET MVC redirect -


How would you go about rewriting rules to some external URLs about redirection in ASP.NET MVC?

For example:

  • What user enters:
  • Does ASP.NET MVCs see: / route
  • What do I want to redirect:
  • What really happens when I make one simple: (which is not present from the outside)

It seems That should be simple, make a blank illustration.

just use

RedirectToAction ("NewAction", " Controller-required-if-separate-current-controller ");


Comments