dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.57k stars 10.05k forks source link

Support SignalR scenarios with Blazor Server #58962

Open mkArtakMSFT opened 1 week ago

mkArtakMSFT commented 1 week ago

For example, how to do pub/sub from a Blazor Server apps.

Be able to host a new hub on the server and simulate loopback connections between the hubs or provide some other mechanism to subscribe to SignalR invocations on the server efficiently.

nwoolls commented 1 week ago

If this is a new effort it would be nice if this method worked with Blazor auto render mode as well, so that the same code / experience can start with Blazor Server and then move to Blazor WASM once assets have been downloaded.