StackExchange MiniProfiler http://code.google.com/p/mvc-mini-profiler/在 ASP.NET MVC2 中工作?如果是这样,如何?将 MiniProfiler 添加到项目中时,MVC2 等效于什么:
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
最佳答案
是的。查看常见问题解答:http://code.google.com/p/mvc-mini-profiler/wiki/FrequentlyAskedQuestions
这是 Razor 语法。 Web 窗体的等价物是
<%: MvcMiniProfiler.MiniProfiler.RenderIncludes() %>
关于c# - MiniProfiler 在 ASP.NET MVC2 中工作吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7198244/