Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 miniprofiler 中多次忽略相同的请求,并在 Application_BeginRequest 中添加了这行代码,但似乎这行代码不起作用。
MiniProfiler.Settings.IgnoredPaths = new[] { "/Economics/ViewProfilingResults.aspx" };
MiniProfiler.Settings.IgnoredPaths 接受 url 路径而不是文件路径 (*.aspx)
请参阅下面的一个链接以获取更多排除特定项目的选项。
如何从 miniprofiler 中排除特定服务?