Sylin.Koan.Cache.Abstractions
1.0.21
dotnet add package Sylin.Koan.Cache.Abstractions --version 1.0.21
NuGet\Install-Package Sylin.Koan.Cache.Abstractions -Version 1.0.21
<PackageReference Include="Sylin.Koan.Cache.Abstractions" Version="1.0.21" />
<PackageVersion Include="Sylin.Koan.Cache.Abstractions" Version="1.0.21" />
<PackageReference Include="Sylin.Koan.Cache.Abstractions" />
paket add Sylin.Koan.Cache.Abstractions --version 1.0.21
#r "nuget: Sylin.Koan.Cache.Abstractions, 1.0.21"
#:package Sylin.Koan.Cache.Abstractions@1.0.21
#addin nuget:?package=Sylin.Koan.Cache.Abstractions&version=1.0.21
#tool nuget:?package=Sylin.Koan.Cache.Abstractions&version=1.0.21
Sylin.Koan.Cache.Abstractions
Contracts for Koan Cache policies, entry builders, values, stores, and capability negotiation. Reference this package when implementing a Cache provider or a module that describes cache intent without activating the Cache runtime.
Install
dotnet add package Sylin.Koan.Cache.Abstractions
Applications normally install Sylin.Koan.Cache or a functional adapter instead.
Meaningful result
public sealed class AcmeCacheStore : ICacheStore
{
public string Name => "acme";
public CacheStorePlacement Placement => CacheStorePlacement.Remote;
public void Describe(ICapabilities caps)
=> caps.Add(CacheCaps.Tags)
.Add(CacheCaps.BinaryPayload);
// Implement Fetch, Set, Remove, Touch, Exists, and EnumerateByTag.
}
Register the provider through standard .NET DI as IEnumerable<ICacheStore>:
services.TryAddEnumerable(
ServiceDescriptor.Singleton<ICacheStore, AcmeCacheStore>());
Use [ProviderPriority] only when automatic election should prefer this store over another candidate in the same
placement. Cache compiles election once; registration order never decides.
Guarantees and boundaries
- This package contains no
KoanModule; referencing it alone performs no registration or I/O. CacheStorePlacementdescribes topology.CacheCapsdescribes provider guarantees. A provider name implies neither.- Declare only capabilities the implementation actually honors. Runtime operations fail loudly when a selected provider cannot satisfy the requested semantic.
AllowStaleFormeans bounded stale serving; it does not imply background revalidation.- Policy tier is application intent. Host-wide provider election belongs to
Sylin.Koan.Cache.
See TECHNICAL.md for provider-author rules.
| 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.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Console (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Newtonsoft.Json (>= 13.0.4)
- Sylin.Koan.Core (>= 1.0.39 && < 2.0.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Sylin.Koan.Cache.Abstractions:
| Package | Downloads |
|---|---|
|
Sylin.Koan.Data.Core
Entity data runtime for Koan: provider election, routing, lifecycle, queries, paging, relationships, and canonical operations. |
|
|
Sylin.Koan.Cache
Koan Cache: transparent Entity caching, policy and topology negotiation, bounded explicit eviction, coherence, health, and inspection. |
|
|
Sylin.Koan.Web.OpenGraph
Host-owned Entity social-card projection and automatic OpenGraph/Twitter metadata injection for Koan SPA shells. |
|
|
Sylin.Koan.Cache.Adapter.Sqlite
SQLite-backed persistent L1 cache store for Koan.Cache. Provides on-disk cache persistence with tag indexing and TTL eviction. Preempts the default Memory store by ProviderPriority. |
|
|
Sylin.Koan.Cache.Adapter.Redis
Redis-backed Remote Cache and layered every-node invalidation, using Koan's shared Redis backend without activating Data. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.21 | 3,373 | 9/10/2026 |
| 1.0.20 | 862 | 9/10/2026 |
| 1.0.19 | 858 | 9/9/2026 |
| 1.0.18 | 1,834 | 9/9/2026 |
| 1.0.16 | 1,698 | 9/9/2026 |
| 1.0.14 | 807 | 9/5/2026 |
| 1.0.13 | 776 | 8/30/2026 |
| 1.0.12 | 756 | 8/30/2026 |
| 1.0.11 | 2,715 | 8/28/2026 |
| 1.0.10 | 734 | 8/28/2026 |
| 1.0.9 | 716 | 8/27/2026 |
| 1.0.7 | 954 | 8/25/2026 |
| 1.0.6 | 1,004 | 8/24/2026 |
| 1.0.4 | 1,275 | 8/22/2026 |
| 1.0.2 | 1,274 | 8/20/2026 |
| 1.0.0 | 777 | 8/14/2026 |
| 0.20.2 | 1,820 | 7/22/2026 |
| 0.20.1 | 498 | 7/21/2026 |
| 0.17.0 | 849 | 6/12/2026 |
| 0.8.0 | 790 | 5/16/2026 |