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()%>



2 comments:

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

    ReplyDelete
  2. This is an amazing blog,it gives very helpful messages to us.Besides that Wisen has established as Best Dot Net Training in Chennai. or learn thru ASP.NET Online Training . Nowadays Dot Net has tons of job opportunities on various vertical industry.

    ReplyDelete