CacheOrchestrator.Bus 2.1.0

dotnet add package CacheOrchestrator.Bus --version 2.1.0
                    
NuGet\Install-Package CacheOrchestrator.Bus -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CacheOrchestrator.Bus" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CacheOrchestrator.Bus" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="CacheOrchestrator.Bus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CacheOrchestrator.Bus --version 2.1.0
                    
#r "nuget: CacheOrchestrator.Bus, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CacheOrchestrator.Bus@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CacheOrchestrator.Bus&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=CacheOrchestrator.Bus&version=2.1.0
                    
Install as a Cake Tool

CacheOrchestrator.Bus

Cluster command bus for CacheOrchestrator.

Add this package when you run more than one instance and you need an invalidation, a Version change, or a TTL change to take effect on every node. You get an HTTP bus that delivers those commands to the peers you configure.

Install

dotnet add package CacheOrchestrator
dotnet add package CacheOrchestrator.Bus

Register

builder.Services.AddCacheOrchestrator(builder.Configuration, o =>
{
    o.AddHttpClusterBus();
});

app.MapCacheOrchestratorHttpBus();

Configure

{
  "Cache": {
    "Namespace": "app1",
    "InstanceId": "app1-a",
    "Cluster": {
      "Bus": {
        "Enabled": true,
        "Membership": "Static",
        "ApiKey": "…",
        "Static": {
          "Instances": [
            { "Id": "app1-a", "Url": "http://10.0.0.1:8080" },
            { "Id": "app1-b", "Url": "http://10.0.0.2:8080" }
          ]
        }
      }
    }
  }
}

Membership may also be ServiceDiscovery (Microsoft.Extensions.ServiceDiscovery). Peers authenticate POST …/cluster/apply with X-Cache-Admin-Key (Cache:Cluster:Bus:ApiKey, or Cache:Admin:ApiKey if the bus key is empty).

Guide: cluster-bus.md. Overview: GitHub README.

License

MIT — LICENSE.md

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.1.0 82 8/15/2026
2.0.0 78 8/13/2026

CacheOrchestrator 2.1.0

Additive library updates: Cache:Metrics:IncludeEndpointLabel (optional route tag on OC/FC meters; default true). Local Admin GET …/cluster/info without requiring CacheOrchestrator.Bus. Stats DTOs prefer factoryShare (originShare kept as obsolete synonym). Endpoint key resolved once per request for Admin counters and metrics. Bus skips duplicate cluster/info when Local Admin already maps it.

Full notes: https://github.com/amarinsek/CacheOrchestrator/blob/main/CHANGELOG.md