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

The persistent connection

This chapter will start with showing the simplest construct that SignalR provides; PersistentConnection. A PersistentConnection provides a simple abstraction for sending data back and forth between a client and a server.

The process is the same for Visual Studio 2010 and 2012, but the samples in this book use Visual Studio 2012. You will however need to have NuGet installed. If you haven't, go to http://www.nuget.org and install it by clicking on the large Install NuGet button.

  1. Let's start by creating a new project in Visual Studio.
    The persistent connection
  2. Select the regular ASP.NET Empty Web Application project template situated under Visual C# ...

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