LevelUp.ServiceDefaults.Caching
0.3.0
See the version list below for details.
dotnet add package LevelUp.ServiceDefaults.Caching --version 0.3.0
NuGet\Install-Package LevelUp.ServiceDefaults.Caching -Version 0.3.0
<PackageReference Include="LevelUp.ServiceDefaults.Caching" Version="0.3.0" />
<PackageVersion Include="LevelUp.ServiceDefaults.Caching" Version="0.3.0" />
<PackageReference Include="LevelUp.ServiceDefaults.Caching" />
paket add LevelUp.ServiceDefaults.Caching --version 0.3.0
#r "nuget: LevelUp.ServiceDefaults.Caching, 0.3.0"
#:package LevelUp.ServiceDefaults.Caching@0.3.0
#addin nuget:?package=LevelUp.ServiceDefaults.Caching&version=0.3.0
#tool nuget:?package=LevelUp.ServiceDefaults.Caching&version=0.3.0
LevelUp.ServiceDefaults.Caching
Opt-in caching satellite for LevelUp.ServiceDefaults. Wires FusionCache's
.AsHybridCache() adapter as the application's HybridCache, giving an in-process
L1 with an optional Redis L2 and a Redis backplane for cross-instance invalidation.
The FusionCache/Redis dependencies are isolated here so they stay out of the
AOT-safe core.
Usage
builder.AddLevelUpServiceDefaults()
.AddLevelUpHybridCache(); // L1 always; L2 + backplane only with ConnectionStrings:cache
The L2 distributed cache and the invalidation backplane self-disable when no
ConnectionStrings:cache is configured: the call registers an L1-only cache and
does not throw, keeping the canonical shim uniform across services.
| 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
- LevelUp.ServiceDefaults (>= 0.3.0)
- Microsoft.Extensions.Caching.Hybrid (>= 10.7.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.9)
- ZiggyCreatures.FusionCache (>= 2.6.0)
- ZiggyCreatures.FusionCache.Backplane.StackExchangeRedis (>= 2.6.0)
- ZiggyCreatures.FusionCache.Serialization.SystemTextJson (>= 2.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LevelUp.ServiceDefaults.Caching:
| Package | Downloads |
|---|---|
|
LevelUp.ServiceDefaults.Azure
Azure satellite for LevelUp.ServiceDefaults: Azure Monitor OpenTelemetry distro and Key Vault configuration provider, each gated on config. No-op otherwise. |
GitHub repositories
This package is not used by any popular GitHub repositories.