Rwx.Caching.Redis 0.3.1

dotnet add package Rwx.Caching.Redis --version 0.3.1
                    
NuGet\Install-Package Rwx.Caching.Redis -Version 0.3.1
                    
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="Rwx.Caching.Redis" Version="0.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rwx.Caching.Redis" Version="0.3.1" />
                    
Directory.Packages.props
<PackageReference Include="Rwx.Caching.Redis" />
                    
Project file
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 Rwx.Caching.Redis --version 0.3.1
                    
#r "nuget: Rwx.Caching.Redis, 0.3.1"
                    
#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 Rwx.Caching.Redis@0.3.1
                    
#: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=Rwx.Caching.Redis&version=0.3.1
                    
Install as a Cake Addin
#tool nuget:?package=Rwx.Caching.Redis&version=0.3.1
                    
Install as a Cake Tool

Rwx.Caching.Redis

Redis-backed HybridCache implementation of Rwx.Caching.ICacheService, with local L1 caching, Redis L2 caching, and cache-stampede protection.

Install

dotnet add package Rwx.Caching.Redis --version 0.1.0

Quick start

Install Rwx.Caching.Abstractions in any application project that injects ICacheService.

using Rwx.Caching.Redis;

builder.Services.AddRwxCaching(builder.Configuration);

The default connection-string name is Redis:

{
  "ConnectionStrings": {
    "Redis": "localhost:6379"
  },
  "Caching": {
    "Expiration": "00:05:00",
    "LocalCacheExpiration": "00:01:00"
  }
}

Pass a different connection-string name as the third argument when needed. The module equivalent is RwxCachingModule.

Boundaries

Caching is an optimization, not a source of truth. Application code depends on Rwx.Caching.ICacheService; it must remain correct on cache misses, eviction, or Redis unavailability. Put invalidation next to the application operation that changes the cached data, and never put Redis-specific types into domain/application contracts.

Product 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.

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.3.1 237 7/26/2026
0.3.0 138 7/20/2026
0.2.2 159 7/14/2026
0.2.1 108 7/13/2026
0.1.1 106 7/12/2026
0.1.0 107 7/12/2026
0.0.2 103 7/12/2026
0.0.1 121 7/12/2026