Monday, May 7, 2012

SignalR: client disconnects

It is often neccessary to take action, when we lose connection with a client - at least notify the user, that they're disconnected and should not expect any further real-time updates. It turns out, that it's really simple to do that with SignalR, as described in the link below:
Stackoverflow: How to determine server disconnection

So don't leave your users out there, without any notification, when a disconnect occurs :)