Tuesday, September 13, 2011

How to use MiniProfiler in ASP.NET WebForms?


1.       Add Package Library Reference for MiniProfiler
2.       Add code to Global.asax file for Start and Stop profiler
3.       Add code to steps you want to trace

Following first steps to add references by this article:

Last step: Add following code to master page html view:
<%=MvcMiniProfiler.MiniProfiler.RenderIncludes()%>



1 comment:

  1. For the last step the code that worked for me was:
    <%=StackExchange.Profiling.MiniProfiler.RenderIncludes()%>

    ReplyDelete