Reputation: 21810
Does The StackExchange MiniProfiler http://code.google.com/p/mvc-mini-profiler/ work in ASP.NET MVC2? If so, how? When adding MiniProfiler to the project, what is the MVC2 equivalent of:
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
Upvotes: 3
Views: 967
Reputation: 190897
Yes. See the FAQ: http://code.google.com/p/mvc-mini-profiler/wiki/FrequentlyAskedQuestions
That is the razor syntax. The equivalent for Web Forms is
<%: MvcMiniProfiler.MiniProfiler.RenderIncludes() %>
Upvotes: 7