MiniProfiler in WebForms (Profiler won't render)

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() %>

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.

aha … assuming this is resolved then …

I’m an idiot. Forgot to include MiniProfiler.Stop();

Yeah, unfortunately it was that easy. Great work on this project, I’ve already been able to make our internal system a bit faster (and learning ways to optimize along the way). Thanks.

Awesome… if its helpful be sure to post a praise topic here :slight_smile: