![]() |
VOOZH | about |
dotnet add package Metalama.Patterns.Caching --version 2026.1.18
NuGet\Install-Package Metalama.Patterns.Caching -Version 2026.1.18
<PackageReference Include="Metalama.Patterns.Caching" Version="2026.1.18" />
<PackageVersion Include="Metalama.Patterns.Caching" Version="2026.1.18" />Directory.Packages.props
<PackageReference Include="Metalama.Patterns.Caching" />Project file
paket add Metalama.Patterns.Caching --version 2026.1.18
#r "nuget: Metalama.Patterns.Caching, 2026.1.18"
#:package Metalama.Patterns.Caching@2026.1.18
#addin nuget:?package=Metalama.Patterns.Caching&version=2026.1.18Install as a Cake Addin
#tool nuget:?package=Metalama.Patterns.Caching&version=2026.1.18Install as a Cake Tool
The Metalama.Patterns.Caching package is a front-end library for caching. It simplifies caching method results and invalidating the cached results.
This package is designed for use with the Metalama.Patterns.Caching.Aspects package, which offers Metalama-based aspects for caching, cache invalidation, and cache key generation. However, the Metalama.Patterns.Caching package does not rely on the Metalama aspect framework, and it can be used independently or with another aspect framework.
Flashtrace.Formatters package.This package can interact with any cache implementation. The abstraction is provided by the CachingBackend class from the Metalama.Patterns.Caching.Backend package.
The primary types in this package are:
ICachingService and should generally not be directly used unless you are not using dependency injection.IServiceCollection and allows the addition of ICachingService to your application.Metalama.Patterns.Caching.Aspects provides an aspect-oriented API for the current package.Metalama.Patterns.Caching.Backend defines the CachingBackend abstraction and provides core implementations for in-memory and multi-layered caching.Metalama.Patterns.Caching.Backends.Redis offers the CachingBackend implementation for Redis.Metalama.Patterns.Caching.Backends.Azure implements pub/sub synchronization of distributed in-memory caches through Azure Message Bus.Flashtrace.Formatters provides an infrastructure for cache key formatting.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Metalama.Patterns.Caching:
| Package | Downloads |
|---|---|
|
Shinya.Core
Shinya.Framework |
|
|
Metalama.Patterns.Caching.Aspects
A set of aspects that simplify the caching: [Cache] to cache a method result as a function of its parameters, [InvalidateCache] to invalidate the cache, or [CacheKey] to mark a cache key in a class. |
|
|
Metalama.Patterns.Caching.Backends.Redis
Redis back-end for Metalama.Patterns.Caching. Implements both caching and cache invalidation over Redis Pub/Sub |
|
|
Metalama.Patterns.Caching.Backends.Azure
Synchronizes the invalidation of distributed Metalama.Patterns.Caching caches over Azure Service Bus. |
|
|
Metalama.Patterns.Caching.TestHelpers
This package contains helper classes used when developing unit tests for new CachingBackend implementations. You don't need this package in any other scenarios. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.18 | 492 | 6/10/2026 |
| 2026.1.17 | 261 | 6/5/2026 |
| 2026.1.16 | 470 | 6/3/2026 |
| 2026.1.15-rc | 2,165 | 5/15/2026 |
| 2026.1.14-rc | 538 | 5/13/2026 |
| 2026.1.13-preview | 246 | 5/13/2026 |
| 2026.1.12-preview | 556 | 5/12/2026 |
| 2026.1.11-preview | 699 | 5/6/2026 |
| 2026.1.10-preview | 1,030 | 4/29/2026 |
| 2026.1.9-preview | 699 | 4/17/2026 |
| 2026.1.8-preview | 380 | 4/13/2026 |
| 2026.1.7-preview | 838 | 3/31/2026 |
| 2026.1.6-preview | 490 | 3/28/2026 |
| 2026.1.5-preview | 260 | 3/26/2026 |
| 2026.1.4-preview | 352 | 3/22/2026 |
| 2026.0.23 | 1,424 | 5/15/2026 |
| 2026.0.22 | 811 | 4/29/2026 |
| 2026.0.21 | 485 | 4/17/2026 |
| 2026.0.20 | 406 | 3/25/2026 |
| 2026.0.19 | 260 | 3/24/2026 |