Muonroi.Caching.Abstractions
2.0.2
dotnet add package Muonroi.Caching.Abstractions --version 2.0.2
NuGet\Install-Package Muonroi.Caching.Abstractions -Version 2.0.2
<PackageReference Include="Muonroi.Caching.Abstractions" Version="2.0.2" />
<PackageVersion Include="Muonroi.Caching.Abstractions" Version="2.0.2" />
<PackageReference Include="Muonroi.Caching.Abstractions" />
paket add Muonroi.Caching.Abstractions --version 2.0.2
#r "nuget: Muonroi.Caching.Abstractions, 2.0.2"
#:package Muonroi.Caching.Abstractions@2.0.2
#addin nuget:?package=Muonroi.Caching.Abstractions&version=2.0.2
#tool nuget:?package=Muonroi.Caching.Abstractions&version=2.0.2
Muonroi.Caching.Abstractions
Caching interfaces and telemetry descriptors for the Muonroi ecosystem.
Overview
Defines the core caching contracts like IMCacheService and configuration models such as CacheEntryOptions. It also includes diagnostics through DistributedCacheRuntimeTelemetry and DistributedCacheTelemetryDescriptor.
Features
- Core Abstractions: Defines
IMCacheServicefor ecosystem-wide caching strategies. - Telemetry: Exposes
DistributedCacheRuntimeTelemetryandDistributedCacheTelemetryDescriptorfor monitoring cache hits and misses. - Cache Configuration: Provides
CacheEntryOptionsfor TTL and expiration policies.
Installation
dotnet add package Muonroi.Caching.Abstractions
Quick Start
public class MyCacheConsumer
{
private readonly IMCacheService _cache;
public MyCacheConsumer(IMCacheService cache)
{
_cache = cache;
}
}
Ecosystem Combinations
- With Muonroi.Caching.Memory: Implements the abstractions using local memory.
- Full Stack Example:
builder.Services.AddSingleton<IMCacheService, MyCustomCacheImplementation>();
Samples
Check out the Samples directory for full examples.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 was computed. 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. |
-
net8.0
- Muonroi.Core.Abstractions (>= 2.0.2)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Muonroi.Caching.Abstractions:
| Package | Downloads |
|---|---|
|
Muonroi.Mediator
Mediator pattern implementation for Muonroi: command/query dispatching, pipeline behaviors, and validation integration. |
|
|
Muonroi.Caching.Memory
Multi-level in-memory + distributed cache implementation with tenant-aware key isolation and stampede protection. |
|
|
Muonroi.Auth
JWT authentication infrastructure: token validation, DPoP binding, claim extraction, and Muonroi auth middleware. |
|
|
Muonroi.AspNetCore
ASP.NET Core integration: auto-CRUD controllers, middleware pipeline, license protection, and Muonroi hosting extensions. |
|
|
Muonroi.Tenancy.SiteProfile.Web
ASP.NET Core middleware and SignalR hot-reload for Muonroi.Tenancy.SiteProfile. |
GitHub repositories
This package is not used by any popular GitHub repositories.