SignalR using blazor server app – does not hit Hub.OnConnectedAsync function upon new client connection
I’m following this tutorial to create signalR feature in Blazor Server app. Here is the full code _hubConnection = new HubConnectionBuilder() .WithUrl(url) .Build(); I’m supposing when above code executes, it should hit OnConnectedAsync function in Hub class. At least that happens in the sample code given here. But surprisingly that is not happening with my … Read more