123456789routes.MapRoute( "Default", // 路由名称 "{controller}/{action}/{id}", // 带有参数的 URL new { controller = "Home", action = "Index", id = UrlParameter.Optional } // 参数默认值 );一般来说 路由是这样的 你写的那个 要自定义路由了 定义一个路由首先你要写控制器名字和方法名 比如 123456789routes.MapRoute( "Default2", // 路由名称 "{a}/{b}/{c}/{d}", // 带有参数的 URL new { controller = "Home", action = "Index", a ="1",b="2",c="3",d="4" } // 参数默认值 );这个路由写得比较简单 但是实际上 这个路由调用的是 Home控制器下面 Index()//4个参数 我是这样理解的 也是这样用的 如有发现不对的地方 麻烦指出来 大家学习下 给你看看我写的路由 12345678910111213141516171819202122232425262728routes.MapRoute( "Caps2", "San-Francisco-49ers-Hats", new { controller = "PClass", action = "Caps" } ); routes.MapRoute( "Versions2", "San-Francisco-49ers-{Version}-Jersey-Page-{p}", new { controller = "PClass", action = "SiteVersion2" }, new { Version = @"(EliteLimitedGame)$", p = @"\+?[1-9][0-9]*" } ); routes.MapRoute( "Versions", "San-Francisco-49ers-{Version}-Jersey", new { controller = "PClass", action = "SiteVersion" }, new { Version = @"(EliteLimitedGame)$" } );