AspNet.SignalR.NCache
5.3.800
dotnet add package AspNet.SignalR.NCache --version 5.3.800
NuGet\Install-Package AspNet.SignalR.NCache -Version 5.3.800
<PackageReference Include="AspNet.SignalR.NCache" Version="5.3.800" />
<PackageVersion Include="AspNet.SignalR.NCache" Version="5.3.800" />
<PackageReference Include="AspNet.SignalR.NCache" />
paket add AspNet.SignalR.NCache --version 5.3.800
#r "nuget: AspNet.SignalR.NCache, 5.3.800"
#:package AspNet.SignalR.NCache@5.3.800
#addin nuget:?package=AspNet.SignalR.NCache&version=5.3.800
#tool nuget:?package=AspNet.SignalR.NCache&version=5.3.800
AspNet.SignalR.NCache
NCache Backplane Provider for ASP.NET SignalR applications. This package lets you use NCache as a scale-out backplane for SignalR, enabling real-time messages to be reliably broadcast across multiple SignalR server instances in a web farm — so clients connected to different servers still receive the same messages.
Installation
Install-Package AspNet.SignalR.NCache
or, using the .NET CLI:
dotnet add package AspNet.SignalR.NCache
Prerequisites
- .NET Framework 4.6.2+ Application.
- NCache SDK 5.3.800 or later.
- An NCache 5.3.800 (or later) server should be up and running, with the target cache already created/registered on it.
Getting Started
Setting up NCache
- Open your application's configuration file:
- .NET / ASP.NET Core:
appsettings.json - .NET Framework / ASP.NET:
app.configorweb.config
- .NET / ASP.NET Core:
- Add an entry for the cache you created on the NCache server, keyed by the cache's name. The
example uses
defaultCache; replace it with your cache's name. - Set
serverto one or more nodes of the cluster where that cache is running. Separate multiple nodes with commas.
appsettings.json
{
"ncache": {
"defaultCache": {
"server": "20.200.20.24,20.200.20.25",
"port": 9800
}
}
}
app.config / web.config
<configuration>
<configSections>
<section name="ncache" type="Alachisoft.NCache.Client.NCacheSection, Alachisoft.NCache.Client" />
</configSections>
<ncache>
<caches>
<add name="defaultCache" server="20.200.20.24,20.200.20.25" port="9800" />
</caches>
</ncache>
</configuration>
The cache name in the configuration must match the name you pass in code:
ICache cache = CacheManager.GetCache("defaultCache");
Setting up Package
Register NCache as the SignalR backplane in your OWIN Startup class:
// Specify the OWIN startup class
[assembly: OwinStartup(typeof(YourApp.Startup))]
namespace YourApp
{
/// <summary>
/// Startup class to configure SignalR with NCache backplane
/// </summary>
public class Startup
{
/// <summary>
/// Method to configure SignalR and NCache backplane
/// </summary>
/// <param name="app">The OWIN application builder.</param>
public void Configuration(IAppBuilder app)
{
// Read NCache configuration settings from Web.config
string cache = ConfigurationManager.AppSettings["cache"];
string eventKey = ConfigurationManager.AppSettings["eventKey"];
string userId = ConfigurationManager.AppSettings["userID"];
string password = ConfigurationManager.AppSettings["password"];
// Configure NCache as the backplane for SignalR
GlobalHost.DependencyResolver.UseNCache(cache, eventKey, userId, password);
// Map SignalR hubs (i.e., ChatHub) to the app builder pipeline
app.MapSignalR();
}
}
}
Configuration
ASP.NET (Web.config): Add the configSections tag in <configuration> as follows:
<configuration>
<configSections>
<section name="ConnectionOptions"
type="Alachisoft.NCache.AspNet.SignalR.SignalRConnectionOptions"/>
</configSections>
</configuration>
Add the ConnectionOptions section in <configuration> to set different properties to be used at the time of client connection with the cache. For a detailed description of parameters provided in the ConnectionOptions object, refer to CacheConnectionOptions Properties.
<configuration>
<ConnectionOptions ClientBindIp="" AppName="DemoAppName" EnableClientLogs="false" LogLevel="info"/>
<Server name="20.200.21.39" port="9800"/>
<UserCredentials userID="john doe" password="1234"/>
</ConnectionOptions>
</configuration>
Add appSettings section specifying cacheName and eventKey in <configuration> as follows:
<appSettings>
<add key="cache" value="YourCacheName"/>
<add key="eventKey" value="chatApplication"/>
</appSettings>
Adjust cache name and other settings as needed for your environment.
Resources
Technical Support
Alachisoft provides various technical support resources.
Visit the Alachisoft Support Center to select a support resource appropriate for your issue. To request additional features or report a documentation discrepancy, contact support@alachisoft.com.
License
Copyright © 2026 Alachisoft. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Alachisoft.NCache.SDK (>= 5.3.800)
- jQuery (>= 3.7.1)
- Microsoft.AspNet.SignalR.Core (>= 2.4.3)
- Microsoft.Owin (>= 4.2.3)
- Microsoft.Owin.Security (>= 4.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.800 | 75 | 10/21/2026 |
| 5.3.7 | 187 | 7/31/2026 |
| 5.3.6.1 | 3,514 | 10/10/2025 |
| 5.3.6 | 309 | 8/13/2025 |
| 5.3.5 | 289 | 5/30/2025 |
| 5.3.1 | 1,539 | 9/12/2022 |
| 5.3.0 | 1,491 | 4/12/2022 |
| 5.2.1 | 13,187 | 10/12/2021 |
| 5.2.0 | 3,386 | 3/25/2021 |
| 5.1.0 | 1,576 | 11/23/2020 |
| 5.0.4.1 | 1,565 | 11/4/2020 |
| 5.0.4 | 1,595 | 10/28/2020 |
| 5.0.3 | 26,074 | 6/15/2020 |
| 5.0.2 | 1,688 | 1/6/2020 |