routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional },
new string[] { "Teng.Web.Controllers" });
routes.MapRoute(
"CMSArticle",
"{Classify}/{controller}/{action}/{id}",
new { Classify = @"", controller = "Home", action = "Index", id = UrlParameter.Optional },
new string[] { "Teng.Web.Controllers" });
CMSArticle Passend http://localhost:4848/ss/home/index/5NET MVC RegisterRoutes Regel
Ich möchte http://localhost:4848/ss/home/index gehen CMSArticle Routen
wenn http: // localhost: 4848/home/index/5 gehen zu Standardrouten –