Fluens.Caching.Redis
0.8.4
See the version list below for details.
dotnet add package Fluens.Caching.Redis --version 0.8.4
NuGet\Install-Package Fluens.Caching.Redis -Version 0.8.4
<PackageReference Include="Fluens.Caching.Redis" Version="0.8.4" />
<PackageVersion Include="Fluens.Caching.Redis" Version="0.8.4" />
<PackageReference Include="Fluens.Caching.Redis" />
paket add Fluens.Caching.Redis --version 0.8.4
#r "nuget: Fluens.Caching.Redis, 0.8.4"
#:package Fluens.Caching.Redis@0.8.4
#addin nuget:?package=Fluens.Caching.Redis&version=0.8.4
#tool nuget:?package=Fluens.Caching.Redis&version=0.8.4
Fluens.Caching.Redis
Redis distributed cache (L2) configuration for HybridCache via Fluens builder infrastructure.
Installation
dotnet add package Fluens.Caching.Redis
Usage
There is no IFluensBuilder extension for Redis - the only way to opt in is the nested callback on
AddCaching (ADR 20260725000001):
fluensBuilder.AddCaching(c => c.AddRedis(r =>
{
r.ConnectionString = "localhost:6379";
}));
Configuration section: Fluens:Caching:Redis. Instance name defaults to {IApplicationIdentity.Key}: for key isolation.
RedisCachingOptions
| Property | Type | Default | Description |
|---|---|---|---|
Enabled |
bool |
true |
When false, Redis is not registered (HybridCache L1 still works) |
ConnectionString |
string? |
null |
Redis connection string. Required when enabled |
InstanceName |
string? |
null |
Redis key prefix. Defaults to {IApplicationIdentity.Key}: when not set |
Throws OptionsException<RedisCachingOptions> when ConnectionString is missing after config +
callback (Redis never registers with a null connection string). Throws an exception naming both
Fluens:App:Name and InstanceName when InstanceName is not set and IApplicationIdentity.Key is
empty - the fallback prefix has nothing to derive from.
Validation is deferred behind AddCaching's own CachingOptions.Enabled gate: AddRedis(...)
queues everything - binding, your callback, and validation - and none of it runs unless caching is
actually enabled. AddCaching(c => c.AddRedis()) with Fluens:Caching:Enabled=false never throws,
even with no ConnectionString configured at all.
License
This project is licensed under the MIT License.
| 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
- Fluens.Caching (>= 0.8.4)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.12)
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 |
|---|---|---|
| 0.8.5 | 47 | 10/7/2026 |
| 0.8.4 | 39 | 10/6/2026 |
| 0.8.3 | 44 | 10/6/2026 |
| 0.8.2 | 85 | 10/5/2026 |
| 0.8.1 | 107 | 9/15/2026 |
| 0.8.0 | 99 | 9/15/2026 |
| 0.7.11 | 95 | 9/15/2026 |
| 0.7.10 | 103 | 9/13/2026 |
| 0.7.9 | 108 | 9/11/2026 |
| 0.7.8 | 108 | 9/10/2026 |
| 0.7.7 | 98 | 9/10/2026 |
| 0.7.6 | 144 | 7/1/2026 |
| 0.7.5 | 145 | 6/22/2026 |
| 0.7.4 | 146 | 6/18/2026 |
| 0.7.2 | 130 | 6/18/2026 |
| 0.7.1 | 144 | 6/18/2026 |
| 0.6.6 | 146 | 3/11/2026 |
| 0.6.5 | 126 | 3/4/2026 |
| 0.6.4 | 129 | 3/4/2026 |
| 0.6.3 | 132 | 3/3/2026 |