Metalama.Patterns.Caching.Backends.Redis
2027.0.8-preview
Prefix Reserved
See the version list below for details.
dotnet add package Metalama.Patterns.Caching.Backends.Redis --version 2027.0.8-preview
NuGet\Install-Package Metalama.Patterns.Caching.Backends.Redis -Version 2027.0.8-preview
<PackageReference Include="Metalama.Patterns.Caching.Backends.Redis" Version="2027.0.8-preview" />
<PackageVersion Include="Metalama.Patterns.Caching.Backends.Redis" Version="2027.0.8-preview" />
<PackageReference Include="Metalama.Patterns.Caching.Backends.Redis" />
paket add Metalama.Patterns.Caching.Backends.Redis --version 2027.0.8-preview
#r "nuget: Metalama.Patterns.Caching.Backends.Redis, 2027.0.8-preview"
#:package Metalama.Patterns.Caching.Backends.Redis@2027.0.8-preview
#addin nuget:?package=Metalama.Patterns.Caching.Backends.Redis&version=2027.0.8-preview&prerelease
#tool nuget:?package=Metalama.Patterns.Caching.Backends.Redis&version=2027.0.8-preview&prerelease
About
The Metalama.Patterns.Caching.Backends.Redis package complements the Metalama.Patterns.Caching package by adding a Redis-based cache implementation. It also synchronizes multiple in-memory caches, each typically deployed on a different node, through Redis Pub/Sub. This package is based on StackExchange.Redis.
Features
- A Redis-based CachingBackend implementation. This allows you to use the Metalama.Patterns.Caching package with Redis instead of just a local memory cache.
- The invalidation of multiple local caches through Redis Pub/Sub.
- A garbage collection task for use when dependencies are enabled.
License
This package is a commercial extension of the open-source Metalama.Patterns.Caching and requires a Metalama Professional license.
Main Types
- RedisCachingFactory provides extension methods to configure the Redis caching back-end, specifically:
- Redis configures a Redis-backend.
- WithRedisSynchronization configures cache invalidation over Redis Pub/Sub.
- AddRedisCacheDependencyGarbageCollector adds the garbage collection service to the service collection. CreateRedisCacheDependencyGarbageCollector returns a new instance of this service without adding it to any collection.
Additional Documentation
- Conceptual documentation:
- API Documentation
Related Packages
- Metalama.Patterns.Caching defines the cache API abstractions.
- Metalama.Patterns.Caching.Aspects provides an aspect-oriented API over Metalama.Patterns.Caching and is typically the entry point package.
- Metalama.Patterns.Caching.Backends.Azure implements distributed cache invalidation over Azure Service Bus instead of Redis Pub/Sub.
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Metalama.Licensing (>= 2027.0.8-preview)
- Metalama.Patterns.Caching (>= 2027.0.8-preview)
- Metalama.Patterns.Contracts (>= 2027.0.8-preview)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- SharpCrafters.Common.Abstractions (>= 2027.0.10-preview)
- StackExchange.Redis (>= 2.10.14)
-
.NETStandard 2.0
- Metalama.Licensing (>= 2027.0.8-preview)
- Metalama.Patterns.Caching (>= 2027.0.8-preview)
- Metalama.Patterns.Contracts (>= 2027.0.8-preview)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- SharpCrafters.Common.Abstractions (>= 2027.0.10-preview)
- StackExchange.Redis (>= 2.10.14)
-
net10.0
- Metalama.Licensing (>= 2027.0.8-preview)
- Metalama.Patterns.Caching (>= 2027.0.8-preview)
- Metalama.Patterns.Contracts (>= 2027.0.8-preview)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- SharpCrafters.Common.Abstractions (>= 2027.0.10-preview)
- StackExchange.Redis (>= 2.10.14)
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 |
|---|---|---|
| 2027.0.9-preview | 66 | 11/25/2026 |
| 2027.0.8-preview | 90 | 11/22/2026 |
| 2027.0.7-preview | 86 | 11/18/2026 |
| 2027.0.6-preview | 93 | 11/11/2026 |
| 2027.0.5-preview | 100 | 10/30/2026 |
| 2027.0.4-preview | 105 | 10/13/2026 |
| 2027.0.3-preview | 110 | 9/16/2026 |
| 2027.0.2-preview | 126 | 9/10/2026 |
| 2027.0.1-preview | 122 | 9/7/2026 |
| 2026.1.33 | 96 | 11/16/2026 |
| 2026.1.32 | 121 | 11/10/2026 |
| 2026.1.31 | 147 | 10/29/2026 |
| 2026.1.30 | 129 | 10/13/2026 |
| 2026.1.29 | 146 | 10/2/2026 |
| 2026.1.28 | 140 | 9/16/2026 |
| 2026.1.27 | 140 | 9/10/2026 |
| 2026.1.26 | 134 | 9/5/2026 |
| 2026.1.25 | 140 | 8/21/2026 |
| 2026.1.24 | 207 | 8/13/2026 |
| 2026.1.23 | 135 | 8/10/2026 |