Testing SignalR Connections with NUnit

added by bradygaster
10/27/2011 10:47:13 AM

640 Views

The SignalR GitHub site has an example wherein a SignalR PersistentConnection instance is used from a non-HTML client. The idea of being able to use SignalR connections in applications other than those that run in a web browser raises some interesting challenges. Likewise, there aren’t too many examples on how to use SignalR connections. This post will demonstrate asynchronously testing a SignalR connection in an end-to-end scenario using NUnit.


1 comments

dpeterson
10/27/2011 10:47:52 AM
I'm personally very excited about SignalR because it provides a Node.js + Socket.IO-esque functionality to the MS stack. This is something folks running ASP.Net or ASP.Net MVC sites can take advantage of without completely switching technologies, and it pushes the web further forward.