frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Building a WebSocket Chat App with C#, Redis Pub/Sub and .NET

https://github.com/sanzor/Ctesiphon
2•adrian_berco•1h ago
I wrote a tutorial explaining how to build a simple real-time chat server using WebSockets and Redis Pub/Sub in .NET.

The article walks through the architecture and implementation of a server that supports channel subscriptions, message publishing, and fanout using Redis.

Topics covered:

- WebSocket connection handling - Redis Pub/Sub for message distribution - inbound/outbound message loops - channel subscription management - basic architecture for real-time messaging systems

The full source code is available here: https://github.com/sanzor/Ctesiphon

Would be curious to hear feedback from people working on messaging infrastructure or real-time systems.