Questions about routing within ASP.
Here are my routes in Global.asax routes.MapRoute("PizzaGet", "pizza/{pizzaKey}", new { controller = "Pizza", action = "GetPizzaById" }); routes.MapRoute("DeletePizza", "…
asp.net-mvc asp.net-mvc-routingIn MVC-5 I could edit the routetable after initial startup by accessing RouteTable.Routes. I wish to do the same …
c# asp.net-core routes asp.net-core-mvc asp.net-mvc-routingLets say you have an action method to display products in a shopping cart // ProductsController.cs public ActionMethod Index(string …
asp.net-mvc-routingI'm using mvc 2 release candidate, and am wondering if there's any way to pass a model to an action using …
asp.net-mvc asp.net-mvc-2 asp.net-mvc-routingI am trying to redirect all urls that don't match an existing controller to a certain controller. For example, the …
asp.net-mvc asp.net-mvc-5 asp.net-mvc-routingHow can I link to one of my root controllers from one of my areas? <% Html.RenderAction("Action", "Page", …
c# asp.net-mvc asp.net-mvc-2 asp.net-mvc-routing asp.net-mvc-areasI would like to setup a multi-tenant ASP.NET MVC app. Ideally, this app would have a route with {tenant}/{…
asp.net-mvc asp.net-mvc-routing multi-tenantSo far (for brevity) I have one route in global.asax registered like this: routes.Add(new LowercaseRoute("{action}/{id}", …
asp.net-mvc-3 asp.net-mvc-routing asp.net-mvc-areasHow can I tell if a string matches a particular named route? I have a route like this: routes.MapRoute( "…
c# asp.net-mvc url routing asp.net-mvc-routingI wanted to provide some URL separation for my public/anonymous controllers and views from the admin/authenticated controllers and …
c# asp.net-mvc asp.net-mvc-5 asp.net-mvc-routing attributerouting