在asp.net mvc 中式用routedebugger进行route测试

在Global.cs中的Application_Start()方法中添加RouteDebugger.RewriteRoutesForTesting(RouteTable.Routes);代码就可以

posted on 2010-04-21 22:29  于兆凯  阅读(169)  评论(0)    收藏  举报