# Using Client Side Probes with Web Forms

**URL:** <https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56>\
**Category:** uncategorized\
**Created:** [September 27, 2012, 9:29am UTC](https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56 "2012-09-27T09:29:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlaase](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jlaase](https://community.miniprofiler.com/u/jlaase)\
**Post date:** [September 27, 2012, 9:29am UTC](https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56/1 "2012-09-27T09:29:01Z")

</div>

After reading through [this blog post](http://samsaffron.com/archive/2012/02/22/miniprofiler-2-0-almost-out-of-the-gate), I was excited to see how to create client side probes for profiling certain client side activities.

The example for doing this in an MVC app was given in the blog post but I was wondering if it was possible to do this with Web Form application? I have gone over the web form example and I did not see anything.

Thanks in advance for any help.

---

<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:** [September 27, 2012, 6:58pm UTC](https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56/2 "2012-09-27T18:58:08Z")

</div>

Sure … nothing is stopping you from using the exact same code in a WebForms app

---

<div class="post-metadata">

**Author:** ![jlaase](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jlaase](https://community.miniprofiler.com/u/jlaase)\
**Post date:** [September 28, 2012, 5:54am UTC](https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56/3 "2012-09-28T05:54:57Z")

</div>

Ok, I know this is going to sound dumb, but I have tried a few ways to try and get this to work and I have not seen a clean way to do the automatic probes that you talk about with adding @this.InitClientTimings(); to a MVC page.

If I enter some code like this into my page directly, I can get probes to show up.

```
<script type="text/javascript">mPt=function(){var t=[];return{t:t,probe:function(n){t.push({d:new Date(),n:n})}}}()</script>

```

Is it possible to get the automatic probes?

Thanks again for a great tool and the support.

---

<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:** [September 29, 2012, 4:12am UTC](https://community.miniprofiler.com/t/using-client-side-probes-with-web-forms/56/4 "2012-09-29T04:12:06Z")

</div>

most of the “automatic” ones only show up in browsers with client timing api, latest chrome/ie/firefox
