I added this to my Global.asax.cs:
protected void Application_BeginRequest()
{
if (Request.IsLocal)
{
MiniProfiler.Start();
}
}
protecte
If anybody tried Alden's solution and still does not work for you, try setting discardResults to false as suggested by willgrosett
// Global.asax.cs file
protected void Application_BeginRequest()
{
if (Request.IsLocal)
{
MiniProfiler.Start();
}
}
protected void Application_EndRequest(object sender, EventArgs e)
{
MiniProfiler.Stop(discardResults: false);
}