我使用 NuGet 安装 MiniProfiler 和 MiniProfiler.MVC3 插件。http://miniprofiler.com/
我已经尝试了网站建议的所有内容,包括在 web.config 中添加:
<handlers>
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
但是,它仍然不会显示在页面上。事实上,包含似乎根本没有呈现。是的,MiniProfiler.RenderIncludes() 在我的母版页上。
请帮忙!