Issue: Blazor apps under .NET8.0 force HubConnections clients to establish connections under JsonProtocol 2.
Steps to reproduce:
-
Run all projects.
-
The console app uses Json Protocol 1 and can connect to the SignalR Hub.
- The blazor app under .NET 7 uses Json Protocol 1 and can connect to SignalR Hub.
- The blazor app under .NET 8 uses Json Protocol 2 and can't connect to the SignalR hub which doesn't supports JsonProtocol 2.