# MiniProfiler in WebForms (Profiler won't render)

**URL:** <https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103>\
**Category:** uncategorized\
**Created:** [July 18, 2012, 7:20am UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103 "2012-07-18T07:20:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://community.miniprofiler.com/u/robert)\
**Post date:** [July 18, 2012, 7:20am UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103/1 "2012-07-18T07:20:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/sam/32/377_2.png) [@sam](https://community.miniprofiler.com/u/sam)\
**Post date:** [July 18, 2012, 1:19pm UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103/2 "2012-07-18T13:19:31Z")

</div>

aha … assuming this is resolved then …

---

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://community.miniprofiler.com/u/robert)\
**Post date:** [July 18, 2012, 7:35am UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103/3 "2012-07-18T07:35:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://community.miniprofiler.com/u/robert)\
**Post date:** [July 19, 2012, 5:47am UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103/4 "2012-07-19T05:47:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/sam/32/377_2.png) [@sam](https://community.miniprofiler.com/u/sam)\
**Post date:** [July 19, 2012, 1:57pm UTC](https://community.miniprofiler.com/t/miniprofiler-in-webforms-profiler-wont-render/103/5 "2012-07-19T13:57:11Z")

</div>

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