On http://miniprofiler.com/ it tells me to put the RenderIncludes() as the last item of the
<BODY />, however, the sample included with the code for WebForms has it as the last item in the
<HEAD />. Since I cannot get either of these to work for me at present (I don’t have SQLLite to run the WebForms example, and trying to implement with my own code after following the steps on the website main page doesn’t render anything … I’ll start a separate question for this one). So where should it go to get it to work?
From Master.Master in the example code
<head runat="server"> <title></title> <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder ID="HeadContent" runat="server"> </asp:ContentPlaceHolder> <%= StackExchange.Profiling.MiniProfiler.RenderIncludes() %> </head>
From the web site example:
<body> ... @MiniProfiler.RenderIncludes() </body>