English
Topic 11. Real-time messaging with ASP.NET Core SignalR
Goal: get to know the ways of exchanging data in real time and the architecture of ASP.NET Core SignalR; learn to create hubs, strongly typed hubs, and groups, and to handle client connections and disconnections; master .NET clients for the console and Windows Forms, automatic reconnection, sending messages from background services and REST endpoints through IHubContext, and data streaming.
Lecture contents
- Architecture, the hub, and the .NET client — Real-time data exchange · ASP.NET Core SignalR architecture · The server: a hub and its methods · The .NET client
- Groups, typed hubs, and forms — Connections, groups, and strongly typed hubs · A Windows Forms client
- Reconnection and sending messages — The connection lifecycle and reconnection · Sending messages from outside a hub
- Streaming, MessagePack, and scaling — Data streaming · MessagePack, the JavaScript client, scaling, and diagnostics
- Common mistakes — Common mistakes