For the complete documentation index, see llms.txt. This page is also available as Markdown.
SignalR integration
SignalR provides real-time bidirectional communication between clients and servers. This guide shows how to connect an Aurelia 2 + Vite frontend to an ASP.NET Core SignalR hub, handle reconnection, and keep your UI state in sync with hub messages.
Prerequisites
Aurelia 2 project (create one with npx makes aurelia)
ASP.NET Core 8+ SDK if you are hosting the SignalR hub yourself
@microsoft/signalr installed in the Aurelia project
1. Server-side hub (ASP.NET Core)
Add a hub that broadcasts messages to every connected client: