title: MiniProfiler not displaying
body: <p>I am using MiniProfiler v3.2.0.157 and MiniProfiler.EF6 v3.0.11 with C# for an ASP.NET MVC 4 website. While I can get the profiler to show up on the majority of the pages on the site, it does not show up on the landing page. </p>
  
  <p>I have tried everything suggested here:
  <a href="https://stackoverflow.com/questions/18790507/miniprofiler-not-showing-up-on-asp-net-mvc">MiniProfiler not showing up on asp.net MVC</a>
  and here: <a href="https://stackoverflow.com/questions/22727574/using-miniprofiler-with-mvc-5/31568406#31568406">Using MiniProfiler with MVC 5</a>
  with no success. </p>
  
  <p>Update: I also tried the Donut Caching Technique described here:
  <a href="https://stackoverflow.com/questions/13893028/donut-hole-caching-exclude-miniprofiler-renderincludes">Donut hole caching - exclude MiniProfiler.RenderIncludes</a></p>
  
  <p>I have noticed that for the pages that do work, if there is a breakpoint in <code>Application_BeginRequest</code> right on <code>MiniProfiler.Start()</code>, <code>MiniProfiler.Current</code> has a value for on requests for most of our pages, but in the case of a request for our landing page, it is null at this point. There does not appear to be anything special about the Landing page that would cause problems.</p>
  
  <p>The important parts of my code are show below.</p>
  
  <p>Global.asax.cs:</p>
  
  <pre><code>protected void Application_BeginRequest(Object sender, EventArgs e)
      {
          if (Request.IsLocal)
          {
              MiniProfiler.Start();
          }
  
  
      }
  
  protected void Application_EndRequest()
      {             
  
          MiniProfiler.Stop(discardResults: false);
  
      }
  </code></pre>
  
  <p>Web.config:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;system.webServer&gt;
      &lt;handlers&gt;
        &lt;add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /&gt;
      &lt;/handlers&gt;
    &lt;/system.webServer&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Layout Page:</p>
  
  <pre><code>@using StackExchange.Profiling;
  &lt;head&gt;
      ...
  &lt;/head&gt;
  &lt;body&gt;
      ...
      @MiniProfiler.RenderIncludes()
  &lt;/body&gt;
  </code></pre>
  
  <p>Landing Page Controller:</p>
  
  <pre><code>using StackExchange.Profiling;
  ...
  public ActionResult Landing()
      {
          var profiler = MiniProfiler.Current;
  
          using (profiler.Step("Content Controller Landing"))
          {
              var user = ...;
              return View(...);
          }
  
      }
  </code></pre>