Language

Getting Started

SignalR video from Build

ASP.NET SignalR is a new library for ASP.NET developers that simplifies the process of adding real-time web functionality to your applications. Real-time web functionality is the ability to have server-side code push content to connected clients instantly as it becomes available.

You may have heard of the HTML5 WebSocket API that enables efficient bidirectional communication between the browser and server. SignalR uses Websockets when it is supported by the browser and the server, and gracefully falls back to other techniques and technologies when it is not. Either way, your application code stays the same.

SignalR provides a simple ASP.NET API for creating server-to-client remote procedure calls (RPC) that call JavaScript functions in client browsers from server-side .NET code. SignalR also includes API for connection management (for instance, connect and disconnect events), grouping connections, and authorization.

Install Visual Studio Express 2012 for Web Free

In this chapter, you'll learn:
What is SignalR and how to get started adding real-time functionality to a web application.

  1. Introduction to SignalR

    By Patrick Fletcher|

    This article describes what SignalR is, and why it should be used.

  2. Supported Platforms

    By Patrick Fletcher|

    This article describes what clients and servers are supported by SignalR.

  3. Tutorial: Getting Started with SignalR

    By Tim Teebken|

    This tutorial shows how to use SignalR to create a real-time chat application. You will add SignalR to an empty ASP.NET web application and create an HTML page to send and display messages.

  4. Tutorial: Getting Started with SignalR and MVC 4

    By Tim Teebken|

    This tutorial shows how to use ASP.NET SignalR to create a real-time chat application. You will add SignalR to an MVC 4 application and create a chat view to send and display messages.

  5. High-Frequency Realtime with SignalR

    By Patrick Fletcher|

    Shows how to use SignalR for real-time status updates by sharing the position of a shape in the browser window.

  6. Tutorial: Server Broadcast with ASP.NET SignalR

    By Tom Dykstra||Level 100 : Beginner

    This tutorial shows how to create a web application that uses ASP.NET SignalR to provide server broadcast functionality. Server broadcast means that communications sent to clients are initiated by ...