c# - MiniProfiler 在 ASP.NET MVC2 中工作吗?

标签 c# asp.net-mvc-2 mvc-mini-profiler

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/

相关文章:

c# - 为每个 session 创建虚拟队列 C#

c# - 如何从 C# 中的字符串中删除多个、重复和不必要的标点符号?

c# - 在 asp.net MVC 2 中打开外部 PDF 文件

asp.net-mvc-3 - 运行 MiniProfiler,并将 runAllManagedModulesForAllRequests 设置为 false

sql-server - 将 mvc-mini-profiler 与 ADO.NET SqlConnection 结合使用

c# - 使用C#清除文本文件的内容

c# - regex.replace 查询字符串参数

templates - ASP.NET MVC 2 生成列表/索引 View

c# - 如何在 asp.net 中使用 mvc2 验证隐藏任何页面元素

asp.net - 是否可以将 mvc-mini-profiler 与类型化数据集一起使用?