Skip to content

Commit

Permalink
Inform readers on support status of stateful reconnect (#32500)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored May 2, 2024
1 parent beb87c2 commit 107b8d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions aspnetcore/blazor/fundamentals/signalr.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ Server-side apps use ASP.NET Core SignalR to communicate with the browser. [Sign

Blazor works best when using WebSockets as the SignalR transport due to lower latency, reliability, and [security](xref:signalr/security). Long Polling is used by SignalR when WebSockets isn't available or when the app is explicitly configured to use Long Polling.

:::moniker range=">= aspnetcore-8.0"

<!-- UPDATE 9.0 Remove when support is present -->

## Azure SignalR Service with stateful reconnect

[Stateful reconnect](xref:signalr/configuration#configure-stateful-reconnect) (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilderHttpExtensions.WithStatefulReconnect%2A>) was released with .NET 8 but isn't currently supported for the Azure SignalR Service. For more information, see [Stateful Reconnect Support? (`Azure/azure-signalr` #1878)](https://github.com/Azure/azure-signalr/issues/1878).

:::moniker-end

:::moniker range=">= aspnetcore-9.0"

## WebSocket compression for Interactive Server components
Expand Down
5 changes: 5 additions & 0 deletions aspnetcore/blazor/host-and-deploy/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ Recommendations for global deployments to geographical data centers:

For Blazor Web Apps that adopt interactive server-side rendering, consider using the [Azure SignalR Service](xref:signalr/scale#azure-signalr-service). The service works in conjunction with the app's Blazor Hub for scaling up to a large number of concurrent SignalR connections. In addition, the service's global reach and high-performance data centers significantly aid in reducing latency due to geography. If your hosting environment already handles these concerns, using the Azure SignalR Service isn't necessary.

<!-- UPDATE 9.0 Remove when support is present -->

> [!NOTE]
> [Stateful reconnect](xref:signalr/configuration#configure-stateful-reconnect) (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilderHttpExtensions.WithStatefulReconnect%2A>) was released with .NET 8 but isn't currently supported for the Azure SignalR Service. For more information, see [Stateful Reconnect Support? (`Azure/azure-signalr` #1878)](https://github.com/Azure/azure-signalr/issues/1878).
:::moniker-end

:::moniker range="< aspnetcore-8.0"
Expand Down

0 comments on commit 107b8d3

Please sign in to comment.