/AzureSignalR-samples

Code samples for Azure SignalR

Primary LanguageJavaScriptMIT LicenseMIT

Welcome to Azure SignalR Service

This repository contains documentation and code samples for Azure SignalR Service.

Azure SignalR Service is an Azure managed service that helps developers easily build web applications with real-time features.

This service supports both ASP.NET Core SignalR and ASP.NET SignalR. SignalR is an open source library that simplifies the process of adding real-time web functionality to applications.

The ASP.NET Core version is not a simple .NET Core port of the original SignalR, but a rewrite of the original version. As a result, ASP.NET Core SignalR is not backward compatible with ASP.NET SignalR (API interfaces and behaviors are different). If it is the first time you try SignalR, we recommend you to use the ASP.NET Core SignalR, it is simpler, more reliable, and easier to use.

For more information about SignalR, please visit SignalR official site.

If you're new to Azure SignalR Service, this repo contains useful documentation and code samples that can help you quickly get started to use this service.

To learn how to use Azure SignalR Service, you can start with the following samples:

ASP.NET Core SignalR samples

More advanced samples are listed as below:

ASP.NET SignalR samples

Updates of Azure SignalR Service Runtime and SDK

We have made some changes to Azure SignalR Service Runtime, as well as Service SDK. You have to upgrade to the latest Service SDK to connect to the latest Service Runtime.

SDK for ASP.NET Core SignalR

In the latest Service SDK for ASP.NET Core SignalR, we have made the following changes:

  • Dependency injection is built on top of ASP.NET Core SignalR.
  • Expose a built-in authentication endpoint to issue access token. User authentication endpoint is not required any more.
  • Re-design interfaces for REST API.
  • Remove .NET Framework support. We plan to support .NET Framework in later releases.

SDK for ASP.NET SignalR

The first preview version of Service SDK for ASP.NET SignalR is released.