Sparkdo.Caching.Abstractions
2.0.0-preview.2
This is a prerelease version of Sparkdo.Caching.Abstractions.
dotnet add package Sparkdo.Caching.Abstractions --version 2.0.0-preview.2
NuGet\Install-Package Sparkdo.Caching.Abstractions -Version 2.0.0-preview.2
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="Sparkdo.Caching.Abstractions" Version="2.0.0-preview.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sparkdo.Caching.Abstractions" Version="2.0.0-preview.2" />
<PackageReference Include="Sparkdo.Caching.Abstractions" />
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 Sparkdo.Caching.Abstractions --version 2.0.0-preview.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sparkdo.Caching.Abstractions, 2.0.0-preview.2"
#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 Sparkdo.Caching.Abstractions@2.0.0-preview.2
#: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=Sparkdo.Caching.Abstractions&version=2.0.0-preview.2&prerelease
#tool nuget:?package=Sparkdo.Caching.Abstractions&version=2.0.0-preview.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sparkdo.Caching.Abstractions
Sparkdo.Caching.Abstractions 定义 Caching 的稳定公共契约,不依赖 Sparkdo runtime、Manifest authoring 或具体 provider。Hybrid API 复用 Microsoft.Extensions.Caching.Abstractions 的 HybridCacheEntryOptions。
契约
ICache<TCacheItem>:字符串 key 的异步 cache 入口。ICache<TCacheItem,TKey>:自定义 key 类型的异步 cache 入口。IHybridCache<TCacheItem>:字符串 key 的混合缓存入口。IHybridCache<TCacheItem,TKey>:自定义 key 类型的混合缓存入口。CacheValue<TValue>:区分 missing 与 null 不可用值的读取结果。ICacheKeyNormalizer:统一 cache name 与 key 的规范化。CacheNameAttribute:缓存名元数据表达。CachingCapability.Id:稳定的Sparkdo.Cachingcapability id。
只需要定义跨 provider 的业务库时引用本包。需要默认内存实现与自动注册时引用 Sparkdo.Caching。
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Sparkdo.Caching.Abstractions:
| Package | Downloads |
|---|---|
|
Sparkdo.Caching
Sparkdo Caching 分布式缓存 API、默认内存分布式 provider 与 package manifest。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-preview.2 | 56 | 7/20/2026 |
| 2.0.0-preview.1 | 49 | 7/18/2026 |