I’m attempting to use the MiniProfiler NuGet package in our Web Forms application. I was able to add it and run various Steps in the Page_Load section and for the master page’s header I have:
<head id="Head1" runat="server">
....
<asp:ContentPlaceHolder ID="testing" runat="server">
<%= StackExchange.Profiling.MiniProfiler.RenderIncludes() %>
</asp:ContentPlaceHolder>
</head>
If I view source, I see var initMp = function… /mini-profiler-resources/… and other things mentioning profiler, but I don’t see the div anywhere in the form.
Am I missing something? I realize this is primarily for MVC, but I keep reading that it is okay for WebForms as well.