# SignalR and Mini Profiler

**URL:** <https://community.miniprofiler.com/t/signalr-and-mini-profiler/282>\
**Category:** .NET\
**Created:** [May 20, 2014, 9:28am UTC](https://community.miniprofiler.com/t/signalr-and-mini-profiler/282 "2014-05-20T09:28:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilesroberts](https://avatars.discourse-cdn.com/v4/letter/g/51bf81/32.png) [@gilesroberts](https://community.miniprofiler.com/u/gilesroberts)\
**Post date:** [May 20, 2014, 9:28am UTC](https://community.miniprofiler.com/t/signalr-and-mini-profiler/282/1 "2014-05-20T09:28:30Z")

</div>

I have an [ASP.NET](http://ASP.NET) MVC 4 website that uses Mini Profiler. Just recently I’ve started using SignalR for the more interactive pages.

I’ve got an issue with the SignalR pages when they’re open a long time. Mini Profiler frequently generates an arithmetic overflow error because of the large amount of time that the SignalR request has been open. I understand that it’s possible for Mini Profiler to ignore SignalR requests: [http://stackoverflow.com/questions/6798028/mvc-mini-profiler-exception-on-miniprofiler-stop](http://stackoverflow.com/questions/6798028/mvc-mini-profiler-exception-on-miniprofiler-stop)

However I’m still keen to analyse the performance of my individual SignalR actions within a request using Mini Profiler. Is there any way to do this?

Equally as good would be a way to get Mini Profiler to profile an arbitrary chunk of non web code but still save the profile run to the database. I don’t actually mind too much if the SignalR action profile results within the main request don’t actually make it to the user interface.

This is a cross post from [http://stackoverflow.com/questions/23346245/mini-profiler-and-signalr](http://stackoverflow.com/questions/23346245/mini-profiler-and-signalr)
