开发者

mini-profiler-results can't be found when using "popup=1" in querystring

Steps to reproduce the problem:

  1. Follow steps to add profiler to your project
  2. The project is in a virtual directory
  3. "http://localhost/VirtualDirectory/mini-profiler-results?id=00f8651d-ebbf-443d-b60d-d83f950adf6a&popup=1" can't 开发者_StackOverflowbe found. 404.
  4. The URL for "http://localhost/VirtualDirectory/mini-profiler-includes.less?v=2.1.4183.14740" is found and if you take away the "popup=1" from the "mini-profiler-results" URL you don't get a 404.

I'm using the latest as of 6/20/2011 (1.3) using NuGet, MVC3, VS2010, Knockout.js and jQuery 1.5.2.

Anybody have any ideas?

Edit: I've already added this is an issue here.


I figured it out. I left out a step that was very important.

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜