SignalR - Real-time Application Development (Second Edition)

More Information
  • Explore the basic knowledge and understanding of SignalR
  • Get to know how to connect client to the server
  • Connecting a client with a server and setting a hub
  • Creating group connections together
  • Understand how to have state in the client to have specific operations
  • Securing SignalR connections
  • How to scale SignalR across multiple servers
  • Building a client for WPF
  • Building a client using Xamarin targeting Windows, iPhone and Android
  • Get to grips with monitoring the traffic in SignalR using Fiddler for Windows and Charles for OSX
  • Setting up code to host SignalR using OWIN

With technology trends, demands on software have changed with more and more skilled users. Over the past few years, with services such as Facebook, Twitter and push notifications on smartphones, users are now getting used to being up to date with everything that happens all the time. With SignalR, the applications stay connected and will generate notifications when something happens either from the system or by other users thus giving new opportunities to enter into this new, exciting world of real-time application development.

This is a step-by-step guide that follows a practical approach helping you as a developer getting to get started with SignalR by learning its fundamentals. It will help you through building real-time applications using the new methods and functions in the SignalR framework. Starting from getting persistent connections with the server, you will learn the basics of connecting a client to the server and how the messaging works. This will be followed by setting up a hub on the server and consuming it from a JavaScript client. Next you will be taught how you can group connections together to send messages. We will then go on to know how you can have state in the client to handle specific operations like connecting or disconnecting. Then, moving on you will learn how to secure your SignalR connections using OWIN and scaling SignalR across multiple servers. Next you will learn building a client for WPF and building a client using Xamarin that targets Windows Phone, iPhone and Android. Lastly, you will learn how to monitor the traffic in SignalR using Fiddler, Charles and hosting SignalR using OWIN.

  • Build and test real-time apps in .Net using the new features of SignalR
  • Explore the fundamentals and the new methods and functions in the latest version of SignalR along with developing a complete application from scratch
  • A progressive, hands-on guide to gain an understanding of the SignalR framework
Page Count 222
Course Length 6 hours 39 minutes
ISBN 9781785285455
Date Of Publication 28 Sep 2015


Einar Ingebrigtsen

Einar Ingebrigtsen has been working professionally with software since 1994—ranging from games development on platforms such as PlayStation, Xbox, and the PC to the enterprise line of business application development since 2002. He has always focused on creating great products with great user experiences, putting the user first. Einar was a Microsoft MVP awardee from October 2008 until July 2015, which he was awarded for his work in the community and in the Silverlight space with open source projects such as Balder, a 3D engine for Silverlight. For years, Einar ran a company called Dolittle together with partners, doing consultancy work and building their own products with their own open source projects at the heart of what they did. Amongst the clients that Dolittle has had over the last couple of years include NRK (the largest TV broadcaster in Norway), Statoil (a Norwegian oil company), Komplett (the largest e-commerce company in Norway), and Holte (a leading Norwegian developer for construction software). Today, Einar works for Microsoft as a technical evangelist, focusing on Azure and advising ISVs, which meant giving up the MVP title.

A strong believer in open source, he runs a few projects in addition to Balder, the largest being Bifrost (, a line of business platforms for .NET developers, and also worth mentioning is Forseti (, a headless auto-running JavaScript test runner.

Additionally, Einar loves talking at user groups and conferences and has been a frequent speaker at Microsoft venues, talking about different topics—the last couple of years he has mostly focused on architecture, code quality, and cloud computing.

His personal blog is at

Einar has also published another book on the subject of SignalR Blueprints, by Packt Publishing.