Muonroi.Caching.Memory
2.0.2
dotnet add package Muonroi.Caching.Memory --version 2.0.2
NuGet\Install-Package Muonroi.Caching.Memory -Version 2.0.2
<PackageReference Include="Muonroi.Caching.Memory" Version="2.0.2" />
<PackageVersion Include="Muonroi.Caching.Memory" Version="2.0.2" />
<PackageReference Include="Muonroi.Caching.Memory" />
paket add Muonroi.Caching.Memory --version 2.0.2
#r "nuget: Muonroi.Caching.Memory, 2.0.2"
#:package Muonroi.Caching.Memory@2.0.2
#addin nuget:?package=Muonroi.Caching.Memory&version=2.0.2
#tool nuget:?package=Muonroi.Caching.Memory&version=2.0.2
Muonroi.Caching.Memory
Multi-level caching memory implementations for the Muonroi ecosystem.
Overview
Provides IMultiLevelCacheService (L1 memory + L2 Redis), DistributedCacheKeyBuilder for tenant-aware key generation, and AddMultiLevelCaching() registration.
Features
- Multi-Level Caching: Exposes
IMultiLevelCacheServicefor layered L1/L2 data access. - Tenant-Aware Keys: Uses
DistributedCacheKeyBuilderto prevent data collision across tenants. - Easy Registration: Exposes the
AddMultiLevelCaching()extension method for easy DI setup.
Installation
dotnet add package Muonroi.Caching.Memory
Quick Start
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddMultiLevelCaching();
var app = builder.Build();
var cache = app.Services.GetRequiredService<IMultiLevelCacheService>();
Ecosystem Combinations
- With Muonroi.Caching.Redis: Connects the
IMultiLevelCacheServiceL1 cache with a distributed L2 Redis cache. - Full Stack Example:
builder.Services.AddMultiLevelCaching()
.AddRedisCache(options => ...);
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.Caching.Abstractions (>= 2.0.2)
- Muonroi.Core.Abstractions (>= 2.0.2)
- Muonroi.Governance.Abstractions (>= 2.0.2)
- Muonroi.Tenancy.Core (>= 2.0.2)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Muonroi.Caching.Memory:
| Package | Downloads |
|---|---|
|
Muonroi.Data.EntityFrameworkCore
Entity Framework Core infrastructure for Muonroi: MDbContext with audit, soft-delete, multi-tenant filters, and repository base. |
|
|
Muonroi.Auth
JWT authentication infrastructure: token validation, DPoP binding, claim extraction, and Muonroi auth middleware. |
|
|
Muonroi.RuleEngine.Runtime
Runtime orchestration layer for Muonroi RuleEngine, providing execution pipelines and integration points for rule evaluation services. |
|
|
Muonroi.AspNetCore
ASP.NET Core integration: auto-CRUD controllers, middleware pipeline, license protection, and Muonroi hosting extensions. |
|
|
Muonroi.BuildingBlock.All
Metapackage for Muonroi Building Block - Includes all sub-packages for a complete infrastructure setup. |
GitHub repositories
This package is not used by any popular GitHub repositories.