ASP.NET Core SignalR
SignalR enables developers to build real-time ASP.NET Core web applications where updates are instantly broadcast to all registered clients as soon as an event is triggered. This removes the need for clients to continuously request updates, reducing latency. In a web farm setup, ASP.NET Core SignalR ensures real-time communication across multiple servers.
Note
This feature is also available in NCache Professional.
Note
For optimal performance in production, the NCache backplane should run in the same data center as the SignalR application.
A common example is an online chatroom where multiple clients connect to different web servers in a farm. Clients send messages to each other, and the messages appear instantly on the recipient’s screen without requiring a page refresh. This is possible because the server immediately broadcasts updates to all connected clients.
ASP.NET Core SignalR is responsible for connection persistence, managing high traffic loads, and broadcasting messages to multiple clients or specific groups. It achieves this through Hubs, which facilitate seamless communication between servers and clients.
NCache enhances SignalR’s functionality in .NET Core applications by providing an integrated extension to the SignalR provider. This allows applications to efficiently handle real-time communication across multiple web servers with minimal latency.
In This Section
Using NCache Extension for SignalR Core
Explains how to use the extension of ASP.NET Core SignalR with NCache.