2012-11-20 4 views
3

NuGet을 사용하여 MiniProfiler 및 MiniProfiler.MVC3 애드온을 설치했습니다.MiniProfiler는 QA가 아닌 로컬 컴퓨터에서 작동합니다

<handlers> 
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /> 
</handlers> 

그러나, 여전히 페이지에 표시되지 않습니다 : http://miniprofiler.com/

나는 사이트의 Web.config이 추가를 포함 제안 모든 노력을했습니다. 사실, includes는 전혀 렌더링되지 않는 것처럼 보입니다. 예, MiniProfiler.RenderIncludes()가 내 마스터 페이지에 있습니다.

도와주세요!

답변

1

삽입하고 디버그하려고해야한다고 생각합니다.

protected void Application_BeginRequest() 
{ 
// if (Request.IsLocal) 
    { 
     MiniProfiler.Start(); 
    } 
} 
+0

브릴리언트! 당신 말이 맞았습니다. 매우 감사합니다! – bigerock

관련 문제