Skip to content

Instantly share code, notes, and snippets.

@jaredfaris
Last active December 24, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredfaris/6815492 to your computer and use it in GitHub Desktop.
Save jaredfaris/6815492 to your computer and use it in GitHub Desktop.

SignalR For Fun And Sockets

Real-time communication between web servers and clients has been a long time coming. We're finally living in a world where all modern mainstream web browsers support WebSockets for this purpose. Sadly, many of our friends, family members and colleagues are still trapped in an old-browser world.

Tons of applications have real-time communication needs. Chat apps are the most obvious example, but any dashboard that shows live information about any system or process can benefit from it. If you're wanting to plot a chart in real-time, or update a stock ticker, or otherwise prevent someone from having to refresh all of the time, you need real-time communication.

In this talk, we'll look at how ASP.NET SignalR makes it easy to add this real-time channel to your application. We'll look at both the server and client sides of things. We'll also compare this method to another popular option, SockJS, to see why you might want one of the other. You'll leave this talk wanting to build stock tickers and upgrade all of your company's computers to IE10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment