我刚刚使用nuget将Mini Profiler添加到我的MVC3项目中,我已按照基本步骤进行设置.在Application_BeginRequest()上启动配置文件并在Application_EndRequest()上停止它
@H_403_2@protected void Application_BeginRequest()
{
if (Request.IsLocal)
{
MiniProfiler.Start();
}
}
protected void Application_EndRequest()
{
MiniProfiler.Stop();
}
MiniProfiler.Stop()抛出异常 – “在发送HTTP标头后,服务器无法追加标头.”
有没有人见过这个?