Cloud service · Azure · Updated

Azure SignalR Service - Azure SignalR Service is a managed real-time messaging service that maintains client connections and delivers application updates using the SignalR protocol.

In short

Azure SignalR Service offloads persistent connection management and message distribution from applications that need live updates, chat, notifications, or collaboration. It supports ASP.NET Core SignalR and legacy ASP.NET SignalR applications, as well as serverless architectures using Azure Functions, management SDKs, and REST APIs.

Cloud Services Hub →

9 key features of Azure SignalR Service

01
Managed connection handling

Offload persistent client connections and message distribution to the service instead of maintaining them on every application instance. Scale backend compute according to business-logic demand while provisioning SignalR capacity for connections and traffic.

02
ASP.NET SignalR integration

Use the Azure SignalR server SDK with ASP.NET Core SignalR or supported legacy ASP.NET SignalR applications. These frameworks use different protocols and APIs, so use the client and server packages appropriate to your application.

03
Serverless messaging

Run without persistent hub servers by selecting Serverless mode and sending messages through Azure Functions bindings, management SDKs, or REST APIs. Configure upstream endpoints when client messages or connection events must invoke backend handlers.

04
Targeted message routing

Address messages to a hub, group, user, or individual connection. For example, send an order update only to the authenticated customer's connections rather than broadcasting it to all clients.

05
Multiple client transports

Compatible SignalR clients can use WebSockets, Server-Sent Events, or long polling, depending on client capabilities and transport configuration. Test proxy and firewall behavior because fallback transports have different connection and traffic characteristics.

06
Backend identity and access control

Use Microsoft Entra ID, managed identities, and Azure RBAC for supported backend operations. Client authorization remains an application responsibility, including protecting negotiation endpoints and controlling group membership.

07
Private connectivity

Use Azure Private Link and network access rules to restrict access to the service. Configure private DNS and network paths for every backend or client that must reach a private endpoint.

08
Premium scaling and resilience

Premium supports autoscale, custom domains, and availability-zone support in supported regions, with a 99.95% availability SLA subject to its terms. Configure scaling policies and recovery behavior explicitly rather than assuming the service automatically handles every workload or regional failure.

09
Operational diagnostics

Use Azure Monitor metrics and resource logs to investigate connection failures, message traffic, and capacity pressure. Configure diagnostic settings to export supported logs to a destination such as Log Analytics.

Where Azure SignalR Service is used

  1. 01
    Live operational dashboards

    Push selected telemetry, sales totals, or processing status to connected dashboards. Aggregate high-volume source data before sending it so browser rendering and message fan-out remain manageable.

  2. 02
    Chat and customer support

    Use groups for conversations and user-targeted messages for private notifications. Store chat history separately and authorize conversation membership before adding connections to groups.

  3. 03
    Collaborative applications

    Distribute whiteboard changes, presence updates, or editing notifications among active participants. Implement concurrency control and authoritative document state in the application or database.

  4. 04
    Order and delivery tracking

    Send order-status changes or vehicle-location updates to customers and dispatchers. Restrict subscriptions to authorized orders or fleets and reload the current state after reconnection.

  5. 05
    Interactive events and live results

    Broadcast auction prices, poll results, or game leaderboards to connected audiences. Keep bid validation, vote counting, and authoritative game decisions in backend services rather than trusting client messages.

  6. 06
    Background job notifications

    Notify users when a report, upload, or workflow changes state without repeatedly querying a status endpoint. Persist job status so users can retrieve the outcome even if they were disconnected when the notification was sent.

How Azure SignalR Service is priced

Free tier

Provides limited connection and daily message allowances for development, evaluation, and small tests, without a production availability SLA. Check the current quotas before using it for shared test environments.

Standard tier

Uses provisioned units that determine connection capacity, with included outbound message allowances and charges for additional billable messages. Units remain billable while provisioned, even when client activity is low.

Premium tier

Uses provisioned-unit and message-based billing while adding capabilities such as autoscale, availability-zone support, and custom domains. Autoscale changes provisioned capacity and therefore affects cost; feature availability depends on the selected offering and region.

Services Azure SignalR Service works with

A common server-based architecture hosts ASP.NET Core hub logic in Azure App Service and uses Azure SignalR Service in Default mode. Clients authenticate with the application, negotiate a service connection, and then connect to the managed endpoint. The application continues to enforce business rules and authorization while SignalR handles client connections and message fan-out. A managed identity can provide supported backend access through Microsoft Entra ID and Azure RBAC.

In serverless architectures, Azure Functions supplies negotiation endpoints and publishes messages through SignalR bindings or a management SDK. Configure the service in Serverless mode, and use upstream endpoints when client events need backend processing. Service Bus can provide durable buffering before a function or worker sends a live notification. Event Grid can distribute supported connection lifecycle events to other handlers.

Keep authoritative application state in durable storage and treat real-time messages as updates or prompts to refresh that state. Make event handlers idempotent, authorize group subscriptions, and implement client recovery after missed notifications. Use Azure Monitor and Log Analytics to track connection pressure, failures, and traffic across the backend and messaging service.

App Service

Host an ASP.NET Core application and its hub logic in App Service while Azure SignalR Service handles client connections in Default mode. For example, an order-management web application can publish status changes through an injected hub context. Scale App Service instances for application CPU and request load, and size SignalR capacity separately for connections and message traffic.

Azure Functions

Use SignalR bindings or the management SDK from Azure Functions with the service configured in Serverless mode. For example, a queue-triggered function can send a report-completion event to a specific user, while an authenticated HTTP function provides negotiation information. Upstream endpoints can also route client events to SignalR-triggered functions.

Event Grid

Publish supported SignalR client connection and disconnection events to Event Grid for downstream processing in serverless architectures. For example, an Event Grid subscription can invoke a function to update an application's presence record. Make event handlers idempotent and account for retries and delayed delivery rather than treating these events as a transactional online-user registry.

Service Bus

Place a worker or Azure Function between Service Bus and Azure SignalR Service to turn durable business events into live client notifications. For example, a topic subscription can receive shipment updates and publish them to an authorized order group. This is an application-mediated integration; retain durable processing and retry logic on the Service Bus side.

Microsoft Entra ID (formerly Azure AD)

Use Microsoft Entra ID identities and Azure RBAC to authorize supported backend access without storing a service access key. For example, assign an App Service managed identity the appropriate SignalR data-plane role and configure the server SDK to use identity-based authentication. End-user authentication still belongs at the application boundary, which issues SignalR client connection tokens during negotiation.

Azure Monitor

Use Azure Monitor metrics for capacity alerts and send supported resource logs to a Log Analytics workspace through diagnostic settings. For example, correlate a spike in connection failures with a deployment and rising connection utilization. Configure log retention and collection deliberately because diagnostics can add cost and contain operationally sensitive information.

API Management

Azure SignalR Service can use API Management as its client negotiation endpoint. The gateway can authenticate the negotiation request and return the SignalR endpoint and a short-lived access token that the client uses to connect.

Azure Application Gateway

Azure SignalR Service can advertise an Application Gateway URL as its client endpoint. The gateway can then reverse-proxy client traffic, including WebSocket connections, to the SignalR instance over a private endpoint.

Azure Blob Storage

Azure SignalR Service can archive resource logs in Blob Storage through its diagnostic settings. For example, connection and messaging logs can be retained for later troubleshooting.

Azure DNS

Azure SignalR Service private endpoints can use an Azure Private DNS zone named `privatelink.service.signalr.net`. Clients in linked virtual networks can use the normal SignalR hostname and have it resolve to the private endpoint's IP address.

Alternatives to Azure SignalR Service in other clouds

AWS

Amazon API GatewayAmazon API Gateway

Amazon API Gateway and Azure SignalR Service both manage WebSocket connections for real-time applications such as chat and live notifications. Amazon API Gateway offers RESTful and WebSocket APIs and bills WebSocket usage by message count and connection time, while Azure SignalR Service requires compatible SignalR clients and bills paid tiers by provisioned units and message usage.

Compare fact by fact
Azure SignalR ServiceAmazon API Gateway
Client interfaceCompatible SignalR clients requiredRESTful and WebSocket APIs
Real-time billingProvisioned units and messagesMessages and connection minutes
Capacity scalingProvisioned; autoscale on PremiumAutomatic with incoming traffic
AWS AppSyncAWS AppSync

AWS AppSync and Azure SignalR Service both push live updates to connected clients for applications such as chat, dashboards, and collaboration tools. AppSync GraphQL delivers updates through GraphQL subscriptions and charges for updates and connection time, while Azure SignalR Service requires compatible SignalR clients and uses provisioned-unit and message-based billing on its paid tiers.

Compare fact by fact
Azure SignalR ServiceAWS AppSync
Live update interfaceSignalR protocol via client libraryGraphQL subscriptions
Paid real-time billingProvisioned units and message billingUpdates and connection minutes
Data recovery after disconnectsApplication-managed resyncBuilt-in offline data sync
Compared Nov 2026

What is Azure SignalR Service

2 min read

Azure SignalR Service provides the connection and message-routing infrastructure for real-time applications. Clients establish connections to the managed service, allowing backend applications to push updates without implementing application-level polling. SignalR supports WebSockets and, where supported by the client and configuration, fallback transports such as Server-Sent Events and long polling. Clients must use a compatible SignalR client library; this is not a general-purpose endpoint for arbitrary WebSocket protocols.

In Default mode, an ASP.NET Core or ASP.NET application hosts the SignalR hub logic. A client first calls the application's negotiation endpoint, which returns the service endpoint and an access token. The client then connects to Azure SignalR Service, while the application maintains server connections to the service. This separates client connection capacity from application compute capacity and removes the need to operate a separate SignalR scale-out backplane. Hub methods and business logic still execute in the application, not inside the managed service.

Serverless mode supports applications that do not maintain connected hub servers. An authenticated negotiation endpoint issues client connection information, and backend code sends messages through Azure Functions bindings, a management SDK, or REST APIs. Upstream endpoints can forward client messages and connection events to backend handlers. Configure Serverless mode when using the Azure Functions integration. Classic mode exists for compatibility; choose Default or Serverless explicitly for new architectures.

Messages can target every connection in a hub, an individual connection, a user, or a group. Hubs separate logical messaging namespaces, while groups support scenarios such as chat rooms, tenant-specific dashboards, or order subscriptions. The application must authorize group membership and derive user identifiers from trusted identity information. A group name alone is not an authorization boundary, and service access keys must never be distributed to clients.

Prefer Microsoft Entra ID and managed identities for supported backend access, assigning appropriate Azure RBAC roles. Protect negotiation endpoints with application authentication and issue appropriately scoped client tokens. Private endpoints and network access rules can restrict connectivity, but private client connections also require suitable network reachability and DNS configuration.

Plan capacity around concurrent connections, message size, fan-out, and throughput rather than connection count alone. Monitor connection utilization, traffic, errors, and throttling, and load-test representative workloads. Premium provides capabilities including autoscale and availability-zone support in supported regions. Implement client reconnection and application-state resynchronization: Azure SignalR Service is not a durable message queue or a system of record. Persist authoritative state separately and provide a way for clients to recover missed updates after disconnecting.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.