【问题标题】:mini-profiler-results can't be found when using "popup=1" in querystring在查询字符串中使用“popup = 1”时找不到迷你探查器结果
【发布时间】:2011-09-18 19:19:34
【问题描述】:

重现问题的步骤:

  1. 按照步骤将分析器添加到您的项目中
  2. 项目位于虚拟目录中
  3. “http://localhost/VirtualDirectory/mini-profiler-results?id=00f8651d-ebbf-443d-b60d-d83f950adf6a&popup=1”找不到。 404.
  4. 找到“http://localhost/VirtualDirectory/mini-profiler-includes.less?v=2.1.4183.14740”的 URL,如果您从“mini-profiler-results”中删除“popup=1” " 你没有得到 404 的 URL。

我正在使用 NuGet、MVC3、VS2010、Knockout.js 和 jQuery 1.5.2 的 2011 年 6 月 20 日 (1.3) 的最新版本。

有人有什么想法吗?

编辑:我已经添加了这是一个问题here

【问题讨论】:

    标签: asp.net-mvc-3 mvc-mini-profiler


    【解决方案1】:

    我想通了。我遗漏了一个非常重要的步骤。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-21
      • 2011-09-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-18
      • 1970-01-01
      相关资源
      最近更新 更多