06 2013 档案

摘要:1:安装MiniProfiler使用Nuget安装:选择MiniProfiler.EF 默认会把MiniProfiler安装上,笔者程序是Asp.Net WebForm 不需要安装MiniProfiler.MVC32: 在Global.asax中添加下面代码:void Application_BeginRequest(){if (Request.IsLocal){ MiniProfiler.Start();}}void Application_EndRequest(){ MiniProfiler.Stop();}void Application_Start(object sender, E.. 阅读全文
posted @ 2013-06-01 15:56 笑看苍天 阅读(1690) 评论(2) 推荐(1) 编辑