I've been quite fond of a library known as SignalR. The library wraps several
different communication protocols: Websockets, server-sent-events, and
long-polling. You don't really need to know exactly what those are. Just know
that they are each a form of continuous communication with the client browser
directly from the server.