© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
51 replies
Yuji

Implementing SignalR for Real-Time Notifications with Offline Fallback

I'm exploring how to implement SignalR for push notifications and evaluating two connection management strategies:

1. In-memory tracking with ConcurrentDictionary – Simple but does not persist connections if the server restarts.


2. Storing connections in Redis or a database – More scalable and persistent, suitable for future growth.



My Requirements:

User Base: 100–200 users (with potential growth).

Performance: Notifications should be delivered instantly.

Offline Handling: If the app is closed, fallback to Firebase Cloud Messaging (FCM).

Self-Hosting: I want to self-host SignalR and am open to exploring both self-hosted SignalR with Kestrel and SignalR with a reverse proxy like Nginx or Apache instead of using Azure SignalR Service.


I need reliable resources or guidance to implement this effectively. I have searched online but want to ensure I don’t miss anything. Any recommendations?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ SignalR for real-time REST api data in WPF?
C#CC# / help
3y ago
Real-time chat platform frameworks: SignalR, WebSockets, ???
C#CC# / help
3y ago
❔ Real time communication
C#CC# / help
3y ago
❔ Real-Time MSTest Reporter
C#CC# / help
3y ago