How To Make A Serverside Hub Part 2/2 [PLUS →]
A hub is useless if it forgets information the moment a user refreshes. You need a way to store "state"—who is online, what settings are active, and what messages are pending.
Since the hub is the central point of contact, it is also the primary target for attacks. How To Make A Serverside Hub Part 2/2
Use Socket.io (Node.js) or SignalR (.NET). This creates a "persistent pipe" between the hub and the users. A hub is useless if it forgets information