Running mini profiler on a single web server is a no brainer, it just works, however when I run behind BIG-IP with an IP based pool I get 404s when requesting this resource "results/mini-profiler-resources".
The profiler does show results, but they seem to be very random and mixed with events that have taken place in other views/pages. I'm hoping someone might have experience with this and can point me in the right direction.
Thank you, Stephen
Relevant code
Packages
<package id="MiniProfiler" version="3.0.10" targetFramework="net45" />
<package id="MiniProfiler.MVC4" version="3.0.10" targetFramework="net45" />
Configuration
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"></modules>
<staticContent>
<remove fileExtension=".svg" />
<remove fileExtension=".eot" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
</staticContent>
<handlers>
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
<security>
<requestFiltering>
<requestLimits maxQueryString="2097151" />
</requestFiltering>
</security>
</system.webServer>
Global
protected void Application_BeginRequest()
{
if (EnableProfiler)
{
MiniProfiler.Start();
}
}
protected void Application_EndRequest()
{
if (EnableProfiler)
{
MiniProfiler.Stop();
}
}
IStorage
. It and the implementations provided out of the box are located here. You can change the storage that you are using by settingMiniProfiler.Settings.Storage
. Update: see my answer below based on this comment.