Imagine you had something really important to tell everyone but weren’t allowed to speak up until asked. That’s how all web servers and WebAPIs with their HTTP Request/Response cycle operate.
SignalR, built on WebSockets, changes this client-server relationship from “speak only when spoken to” to a fully bi-directional communication. This is amazing, but can also generate a lot of asynchronous events. Fortunately, we’ve got some great tools for handling asynchronous events….
This talk explores implementing Redux behind a SignalR hub on an ASP.Net Core web server, adding predictable state management to the real-time capabilities of SignalR.