MiniProfiler не отображается на asp.net MVC

Я добавил это в мой Global.asax.cs:

protected void Application_BeginRequest()
{
    if (Request.IsLocal)
    {
        MiniProfiler.Start();
    }
}

protected void Application_EndRequest()
{
    MiniProfiler.Stop();
}

я добавил

@MiniProfiler.RenderIncludes()

чуть ниже тег в _Layout.cshtml.

В моем контроллере ям с помощью:

 public class HomeController : Controller
    {
        public ActionResult Index()
        {    
            var profiler = MiniProfiler.Current; // it's ok if this is null
            using (profiler.Step("Set page title"))
            {
                ViewBag.Title = "Home Page";
            }
            using (profiler.Step("Doing complex stuff"))
            {
                using (profiler.Step("Step A"))
                { // something more interesting here
                    Thread.Sleep(100);
                }
                using (profiler.Step("Step B"))
                { // and here
                    Thread.Sleep(250);
                }
            }

            return View("~/Views/Home/Index.cshtml");
        }
    }

Но на моей странице ничего не отображается, нет профиля.

При просмотре исходного кода я вижу только это:


Ответы на вопрос(2)

Ваш ответ на вопрос