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 redirecttorouteI 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 redirecttorouteI am just puzzled on why is my RedirectToRoute() method not working. I have a RouteConfig.cs file like this …
asp.net-mvc redirecttoroute