How to use Routing in MVC for SEO Friendly URL
问题 Generally we have following sample code in our global.asax file. So, my question is how we can have multiple MapRoute and how to use them ??? I want URL like: http://domain/Home.aspx/Index/Cricket-Ball/12 public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = UrlParameter.Optional } ); } I want something like this, but i don't