ASP.NET Core SignalR
SignalR allows developers to create real-time ASP.NET Core web applications, where the server broadcasts the updates to all registered clients as soon as an update is triggered. This cuts down on the delay caused by the wait for client requests for updates. Similarly ASP.NET Core SignalR is responsible for adding real time functionality to the web applications in a web farm.
For production use, it is recommended to run NCache backplane in the same data center as the SignalR app.
An example of an online chatroom stands valid in this case too. Multiple clients are connected to multiple web servers in a farm. These clients can be sending messages to each other, where the message content is displayed as soon as it is sent to the receiving client. This eliminates the need to refresh the webpage every time to request for new messages, as the server broadcasts the message to all clients as soon as the client state is updated.
ASP.NET Core SignalR is responsible for functionalities like connection persistence and high traffic management. Similarly sending same message to multiple connected clients and sending messages to the specific connected group of clients is to be dealt by ASP.NET Core SignalR.
ASP.NET Core SignalR uses Hubs to communicate between clients and servers. It creates connections between them which ensures message delivery to all clients from their connected servers. NCache lets you use SignalR in your .NET Core Application by providing extension to the SignalR provider.
In this Section
Using NCache Extension for SignalR Core
Explains how to use the extension of ASP.NET Core SignalR with NCache.