With ASP MVC, routing works with the following code
routes.MapRoute("Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = UrlParameter.Optional });
Easy to change controllers and actions. Do I have access to this controller in WebMatrix? Or I need to catch every variable with UrlData[0].ToString() . Thanks in advance!
source share