2012年9月14日
摘要: 1.安装在程序包控制台中执行命令PM>Install-Packageroutedebugger安装成功后Web.config文件中会自动加入行<addkey="RouteDebugger:Enabled"value="true"/>2.使用在文件Global.asax中 Application_Start() 中添加代码 PreApplicationStart.Start();如下样式:protectedvoidApplication_Start(){RegisterRoutes(RouteTable.Routes);PreApplic 阅读全文
posted @ 2012-09-14 13:58 yuyk 阅读(561) 评论(1) 推荐(0) 编辑