AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

.NET 7.0: Add mention WebSocket support over HTTP/2 in topic: WebSockets support in ASP.NET Core

Open wadepickett opened this issue 2 years ago • 3 comments

SignalR and the SignalR browser JavaScript client have been updated to support WebSockets over HTTP/2. Introduced in .NET 7.0 Preview 6.

Something like:

.NET 7.0 allows WebSocket support over HTTP/2 for:

  • ASP.NET Core SignalR JavaScript client
  • ASP.NET Core SignalR with Blazor WebAssembly

Using WebSockets over HTTP/2 lets you take advantage of new features like header compression and multiplexing that reduce the time and resources needed when making multiple requests to the server.

Fixes #26477 (Final PR for it.)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

wadepickett avatar Aug 10 '22 22:08 wadepickett

Note: Only clients running in the browser have support for this today. So javascript or SignalR .NET client with WASM.

BrennanConroy avatar Aug 10 '22 22:08 BrennanConroy

Thanks @BrennanConroy!

Should I wait until RTW to see where it is at then, or just mention those two new options for now (in this Websockets topic).

wadepickett avatar Aug 10 '22 22:08 wadepickett

Either is fine, if you do the latter, maybe keep the issue open and assign me to look at and update once we RTM if it needs updating.

BrennanConroy avatar Aug 10 '22 22:08 BrennanConroy

Dup of #26366

Rick-Anderson avatar Aug 17 '22 20:08 Rick-Anderson

Closing since this is a duplicate of Dup of https://github.com/dotnet/AspNetCore.Docs/issues/26366

wadepickett avatar Aug 17 '22 22:08 wadepickett