I've tried to search answers and found many, but those are working for older versions of .Net framework. I use 6.0.3.
My first approach was to find the function or procedure that gets called upon connection loss, tried to override the default reconnection function in the _Layout.cshtml file and found many solutions on various forums but those just simply don't work in my case.
Please don't hurt me, I'm not even a developer, but managed to implement all the features. This is the last needed thing.
Check out the Blazor Documentation on modifying the reconnection handler. It includes a handler for when the connection is dropped as well as for reconnection. You could probably modify their sample to call location.reload() instead of logging to the console. Just make sure your app won't get stuck in an endless loop for clients that have broken websockets support (if for some reason they can connect, but always drop the connection immediately).