I added this to my Global.asax.cs:
protected void Application_BeginRequest() { if (Request.IsLocal) { MiniProfiler.Start(); } } protecte
In your web.config, add this:
... ... ...
If you want some sweet MVC Action profiling (unrelated to your problem), add this line to Application_Start in Global.asax.cs:
Application_Start
GlobalFilters.Filters.Add(new StackExchange.Profiling.MVCHelpers.ProfilingActionFilter());