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's requests for updates. Similarly, ASP.NET Core SignalR is responsible for adding real-time functionality to the web applications in a web farm.
Note
This feature is also available in NCache Professional.
Note
For production use, it is recommended to run the 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 on a farm. These clients can send 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 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. It also supports broadcasting messages to multiple clients or targeting specific groups of connected 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 an 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.