I'm creating a server based Blazor app in .NET 9.The app contains a client side check if users are inactive for a certain time.When they are, I want to stop the connection and display a logout notice.
It seems I can stop/terminate the circuit using "Blazor.disconnect()" on client side to kill the Blazor circuit on the server and free its resources.
After that it seems the underlying SignalR/WebSocket connection from client to the server is active and exchanging data !? It seems there is no timeout the SignalR connection closes automatically after the circuit has been destroyed !?
Is there a known way to access the Blazor SignalR connection or its object to stop/terminate it ? At best this should be possible from client side (JavaScript) but also from server side (C#) would help.