A high-performance, low-latency real-time chat backend supporting instant messaging, group channels, and live presence tracking, built using .NET 8/9 and SignalR.
Key Features:
Real-Time Bi-directional Communication: Implemented SignalR Hubs to establish persistent WebSocket connections for instant message delivery with fallback options.
State & Presence Management: Integrated Redis to track user online/offline status and manage distributed SignalR connections across multi-instance scale-outs.
Message Persistence: Optimized database schema with EF Core for fast historical chat retrieval and message status tracking (Sent, Delivered, Read).
Secure Hubs: Secured connection handshakes and messaging channels using JWT Authentication.
Tech Stack: C#, .NET 8/9, SignalR (WebSockets), Redis, EF Core, SQL Server/PostgreSQL, JWT.