SignalR Deep Dive: Building Servers
summary
Builds a minimal SignalR-compatible server in Go that implements the negotiate endpoint, accepts WebSocket upgrades, and parses the JSON hub protocol (handshake, invocation, completion, ping). Messages are framed using a record separator (ASCII 30) and the server echoes invocations, tracks connections in a sync map, and sends simple broadcasts; it omits groups, cancellation, and full error handling. Also demonstrates offloading connections to Azure SignalR Service by returning a service endpoint and token during negotiate.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:54What is SignalR?
- 5:40Supporting multiple clients
- 6:57Transports: Long polling
- 7:26Transports: WebSockets
- 7:40Negotiate request
- 8:16Hub protocol message types
- 47:16Further considerations
- 48:24Messaging
- 49:56Scale-out
- 50:33Azure Signal Service
- 53:17Azure Functions
related talks
53mSignalR: To Chat and Beyond
01h 01mEvent driven applications in Azure
33mRealtime web applications, from your Mac to the Cloud, with SignalR and Azure
50mReal-time Web Applications with ASP.NET Core SignalR
01h 02mIntroducing ASP.NET Core Sockets
38mIt doesn't have to be REST: Websockets in Go
07mFirst Steps Into Web Server Development
25mTaming Client-Server Communication
