Top "Redirecttoroute" questions

How is RedirectToRoute supposed to be used?

I have this in my Global.asax.cs: routes.MapRoute("BetaAccess", "beta-access", new { controller = "Beta", action = "Index" }); And this in …

asp.net asp.net-mvc routing redirecttoroute
Passing querystrings to RedirectToRouteResult (beside controller and action)

I have the following code: var routeDictionary = new RouteValueDictionary {{"action", "Login"}, {"controller", "Persons"}}; filterContext.Result = new RedirectToRouteResult(routeDictionary); That will …

asp.net-mvc-4 asp.net-mvc-routing redirecttoroute
How to use RedirectToRoute("routeName") in MVC?

I am just puzzled on why is my RedirectToRoute() method not working. I have a RouteConfig.cs file like this …

asp.net-mvc redirecttoroute