Blazor Server-side Loses Connection Upon Extended Phone Lock #41791
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-server
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
This is based on this thread in the .NET Twitter Community/Group:
https://twitter.com/BuildItBusk/status/1528325252366884865
It appears that when a phone is locked for an extended period of time (10-20 minutes) and unlocked when visiting a Blazor server-side application, the connection is lost and it is not automatically reloaded, resulting in a poor user experience.
The connection appears to reconnect if locked for a few minutes, but for extended periods of time the connection gets lost altogether.
Describe the solution you'd like
When thinking of sites such as Twitter, Facebook, etc, which all use WebSockets, this issue does not occur to them and is accounted for with their own mechanisms. Ideally, this should also be easily addressed/configured with Blazor server-side applications as well. If the connection is lost, there should be the option to:
Number 3 is the most ideal and should arguably be the default in future versions.
Additional context
Thank you for all your great work out there. I for one cannot underscore enough how much you are changing lives for the better with your efforts. :)
The text was updated successfully, but these errors were encountered: