I'm trying to configure mvc miniprofiler with my asp.net mvc 3 application. The problem is that I can't access MiniProfiler class in my views (I'm using webforms viewengine). I have tried a few things
But when I write
<%var profiler = MiniProfiler.Current;%>
in my view it announces that MiniProfiler does not exist in current context.
Did you include the proper namespace in your views:
<% var profiler = MvcMiniProfiler.MiniProfiler.Current; %>