我也有類似的路由表這個ASP.NET MVC RC1路由問題
// Allow browsing categories by name, instead of by ID.
routes.MapRoute("Categories", "Categories/{action}/{name}",
new { controller = "Categories", action = "Index", name = "" }
);
// All other pages use the default route.
routes.MapRoute("Default", "{controller}/{action}/{id}",
new { controller = "Applications", action = "Index", id = "" }
);
// Show a 404 error page for anything else.
routes.MapRoute("Error", "{*url}",
new { controller = "Error", action = "404" }
);
但是在最後通配符路線不被調用......如果我在一個控制器或URL,它不鍵入存在它試圖在通配符路由上方的默認路由...因此導致沒有找到ASP.net錯誤頁面的無用資源...我想要一個自定義錯誤頁面...請幫助