CacheOrchestrator.EFCore.Invalidation
3.0.0-beta.3
dotnet add package CacheOrchestrator.EFCore.Invalidation --version 3.0.0-beta.3
NuGet\Install-Package CacheOrchestrator.EFCore.Invalidation -Version 3.0.0-beta.3
<PackageReference Include="CacheOrchestrator.EFCore.Invalidation" Version="3.0.0-beta.3" />
<PackageVersion Include="CacheOrchestrator.EFCore.Invalidation" Version="3.0.0-beta.3" />
<PackageReference Include="CacheOrchestrator.EFCore.Invalidation" />
paket add CacheOrchestrator.EFCore.Invalidation --version 3.0.0-beta.3
#r "nuget: CacheOrchestrator.EFCore.Invalidation, 3.0.0-beta.3"
#:package CacheOrchestrator.EFCore.Invalidation@3.0.0-beta.3
#addin nuget:?package=CacheOrchestrator.EFCore.Invalidation&version=3.0.0-beta.3&prerelease
#tool nuget:?package=CacheOrchestrator.EFCore.Invalidation&version=3.0.0-beta.3&prerelease
CacheOrchestrator.EFCore.Invalidation
CacheOrchestrator is a multi-tier cache coordination and synchronized invalidation library for .NET.
This package hooks EF Core SaveChanges: map a CLR type to (domain, entityKind); after a successful save, matching entity tags are purged through ICacheOrchestratorInvalidator.
Install
dotnet add package CacheOrchestrator.EFCore.Invalidation --prerelease
Configuration
Domain policy (same as the rest of CacheOrchestrator). Optional interceptor options:
{
"Cache": {
"Domains": {
"catalog": {
"Version": "1",
"DataCache": { "TtlSeconds": 300 },
"OutputCache": { "TtlSeconds": 60 }
}
},
"EFCore": {
"Invalidation": {
"Enabled": true
}
}
}
}
Usage
dotnet add package CacheOrchestrator --prerelease
dotnet add package CacheOrchestrator.EFCore.Invalidation --prerelease
builder.Services.AddCacheOrchestrator(builder.Configuration);
builder.Services.AddCacheOrchestratorEfCoreInvalidation(builder.Configuration);
builder.Services.AddDbContext<AppDbContext>((sp, opt) =>
{
opt.UseSqlServer(connectionString);
opt.AddCacheOrchestratorInvalidation(sp);
});
// In OnModelCreating (or Map<T> / [CacheEntity]):
modelBuilder.Entity<Product>().CacheInvalidate("catalog", "products");
Tracked SaveChanges invalidates matching entity tags after a successful save. ExecuteUpdate and ExecuteDelete bypass the change tracker and require explicit invalidation.
Documentation
License
MIT — LICENSE.md
| Product | Versions 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. |
-
net10.0
- CacheOrchestrator.Core (>= 3.0.0-beta.3)
- Microsoft.EntityFrameworkCore (>= 10.0.10)
-
net8.0
- CacheOrchestrator.Core (>= 3.0.0-beta.3)
- Microsoft.EntityFrameworkCore (>= 8.0.22)
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 | |
|---|---|---|---|
| 3.0.0-beta.3 | 50 | 8/30/2026 | |
| 3.0.0-beta.2 | 55 | 8/25/2026 | |
| 3.0.0-beta.1 | 58 | 8/25/2026 | |
| 2.1.0 | 122 | 8/15/2026 | |
| 2.0.0 | 116 | 8/13/2026 |
CacheOrchestrator 3.0.0-beta.3
v3 beta.3 continues the modular package split and host integrations for early testing. Highlights: Redis leaf packages (`AspNetCore.Redis`, `FusionCache.Redis`) beside the Redis meta package; endpoint cache identity for non-GET reads; docs and playground multi-instance product store improvements.
Full notes: https://github.com/amarinsek/CacheOrchestrator/releases/tag/v3.0.0-beta.3