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.