ASP.NET Core SignalR
SignalR allows developers to create real-time ASP.NET Core web applications, where the server broadcasts the updates to all the registered clients as soon as an update is triggered. This reduces the delay caused by the client requests for updates. Similarly, ASP.NET Core SignalR is responsible for adding real-time functionality to the web applications in a web farm.
Note
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.
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.