Search code examples
asp.net-mvcasp.net-mvc-routing

What's the difference in ASP.NET MVC of RedirectToRoute and RedirectToAction?


What's the difference in ASP.NET MVC of RedirectToRoute and RedirectToAction? It's not clear what the difference is to me.


Solution

  • Redirect to route looks up the route table thats defined in global.asax and redirect to action redirects you to a specified controller/action.

    that's about it really