O'Reilly logo

SignalR: Real-time Application Development by Einar Ingebrigtsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Persistent Connections

This chapter will cover the basics of getting a client connected to the server and how messaging works.

The topics covered include:

  • Setting up a web application with SignalR
  • Exposing a persistent connection to the server
  • Consuming the connection in a .NET client
  • Consuming the connection in a JavaScript client
  • Enabling WebSockets on Windows Server 2012

At this stage the developer should be able to have two client types and a server connected together.

Where are we going?

The remainder of the book will try to keep to the narrow path of developing iteratively on the same application; a Chat application with a web client, a .NET console client, and a Windows 8 WinRT client all working with the same server. We will also go ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required