Description
Describe the bug
I have a Blazor server side app, when my computer sleep then wake-up... the server connection is lost.
From a "production" point of view... it is not acceptable, so I have try several possible solutions but none
really work.
-
I have see the documentation about the Circuit, but didn't find any clear way to use it. ie when / how to use it for automatic reconnection. Can it be used for such purpose.
-
I have see other posts here, like: (blazor) Failed to reconnect to the server #10325
I have add the code proposed by @danroth27 , but no reconnection occur !
I have also check others like: https://stackoverflow.com/questions/58404533/how-can-i-change-the-could-not-reconnect-to-the-server-text-in-blazor
- Sometimes that are exception inside the application, it seems to break the whole application.
After an exception, the whole application stop to work, any click on any button etc... nothing respond :-(
So, I'm looking for an example, and/or at least some guidance, to make the application way more robust.
;-)
Thanks a lot
To Reproduce
FYI, my app is online www.socloze.com , but can't go in production until I find a robust way to fix this :-(
Any help is really appreciated. Thx