[MN-07] SignalR: Missing Reconnection Logic #6

Open
opened 2026-05-05 12:15:03 +00:00 by mjasin · 0 comments
Owner

Full Detail: SyncService.cs uses .WithAutomaticReconnect() (line 44) which handles low-level socket recovery. However, the application layer doesn't handle higher-level state synchronization after a reconnect.

Action:

  • Implement _hubConnection.Reconnected event handler.
  • When reconnected, trigger a full state sync to ensure any progress made while the socket was down is persisted to the server.
  • Notify the UI via an event so users know they are back online.
**Full Detail:** `SyncService.cs` uses `.WithAutomaticReconnect()` (line 44) which handles low-level socket recovery. However, the application layer doesn't handle higher-level state synchronization after a reconnect. **Action:** - Implement `_hubConnection.Reconnected` event handler. - When reconnected, trigger a full state sync to ensure any progress made while the socket was down is persisted to the server. - Notify the UI via an event so users know they are back online.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mjasin/Nexus.Reader#6