ASP.NET MVC 4 Routes - controller/id vs controller/action/id
问题 I'm trying to add a route to the default one, so that I have both urls working: http://www.mywebsite.com/users/create http://www.mywebsite.com/users/1 This will make the first route work: routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "users", action = "Index", id = UrlParameter.Optional } ); However, the second route won't work obviously. This will make the second route work, but will break the first one: routes.MapRoute( name: "Book", url: