EthisysCore.Plugin.Sdk.Cache
1.4.0
dotnet add package EthisysCore.Plugin.Sdk.Cache --version 1.4.0
NuGet\Install-Package EthisysCore.Plugin.Sdk.Cache -Version 1.4.0
<PackageReference Include="EthisysCore.Plugin.Sdk.Cache" Version="1.4.0" />
<PackageVersion Include="EthisysCore.Plugin.Sdk.Cache" Version="1.4.0" />
<PackageReference Include="EthisysCore.Plugin.Sdk.Cache" />
paket add EthisysCore.Plugin.Sdk.Cache --version 1.4.0
#r "nuget: EthisysCore.Plugin.Sdk.Cache, 1.4.0"
#:package EthisysCore.Plugin.Sdk.Cache@1.4.0
#addin nuget:?package=EthisysCore.Plugin.Sdk.Cache&version=1.4.0
#tool nuget:?package=EthisysCore.Plugin.Sdk.Cache&version=1.4.0
EthisysCore Plugin SDK Cache
Plugin cache primitives for EthisysCore plugins.
This package owns the plugin-local near-cache and the host-backed cache adapter contract used by the core SDK. Plugin authors normally consume IPluginCache through PluginBase and do not need to register this package directly.
Design
IPluginCache keeps hot reads inside the plugin process and optionally reads/writes through a host-backed cache adapter. The host owns distributed cache infrastructure such as HybridCache, Redis, and backplane invalidation; plugins only see the SDK abstraction.
This split avoids duplicating the platform cache stack in plugin containers while still preventing every hot read from crossing Dapr/gRPC into the kernel. Keys and tags are namespaced by plugin and organisation before storage, so replicas and tenants share the backend safely without leaking cache entries across boundaries.
Key types
| Type | Purpose |
|---|---|
IPluginCache |
Plugin-facing cache abstraction with tag invalidation and local stampede protection. |
PluginCacheOptions |
Controls host-backed TTL, local near-cache TTL, and negative-result TTL. |
IPluginCacheBackend |
Host-facing adapter contract used by runtimes to bridge to the platform cache. |
Last Updated: 2026-05-01
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Microsoft.Extensions.Caching.Memory (>= 10.0.7)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on EthisysCore.Plugin.Sdk.Cache:
| Package | Downloads |
|---|---|
|
EthisysCore.Plugin.Sdk
SDK for building plugins for the EthisysCore platform. Provides IPlugin, IPluginContext, IPluginDataStore, IMcpToolCatalogClient (typed MCP tool catalogue facade) and IMcpClient (raw MCP transport for resources) interfaces. |
|
|
EthisysCore.Plugin.Sdk.Host
Hosting runtime for EthisysCore plugins running out-of-process. Provides gRPC bridge between the plugin and the EthisysCore host. |
|
|
EthisysCore.Plugin.Sdk.Cqrs
CQRS package for EthisysCore plugins. Provides IQueryHandler, ICommandHandler, Result pattern, pipeline behaviors, and CqrsToolBridge for auto-exposing handlers as MCP tools. |
|
|
EthisysCore.Plugin.Sdk.Data
Data persistence package for EthisysCore plugins. Provides PluginDbContext, IReadOnlyRepository, IRepository, Specification, IUnitOfWork with schema isolation, soft-delete, audit, and org-scoping. |
|
|
EthisysCore.Plugin.Sdk.Testing
Testing helpers for EthisysCore plugins. Provides PluginTestHost, TestPluginContext, in-memory DataStore and Storage fakes, NullMcpClient, and log capture utilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.