Nera.Lib.Caching
1.0.10
See the version list below for details.
dotnet add package Nera.Lib.Caching --version 1.0.10
NuGet\Install-Package Nera.Lib.Caching -Version 1.0.10
<PackageReference Include="Nera.Lib.Caching" Version="1.0.10" />
<PackageVersion Include="Nera.Lib.Caching" Version="1.0.10" />
<PackageReference Include="Nera.Lib.Caching" />
paket add Nera.Lib.Caching --version 1.0.10
#r "nuget: Nera.Lib.Caching, 1.0.10"
#:package Nera.Lib.Caching@1.0.10
#addin nuget:?package=Nera.Lib.Caching&version=1.0.10
#tool nuget:?package=Nera.Lib.Caching&version=1.0.10
NERA.BuildingBlocks.Caching
NERA.BuildingBlocks.Caching is a library providing caching utilities and services for the NERA system, with built-in support for Redis and seamless integration with .NET 9.0.
Features
- Redis caching powered by StackExchange.Redis
- JSON serialization using Newtonsoft.Json
- Designed for .NET 9.0 and easy integration with other NERA projects
- Integration with domain models via NERA.BuildingBlocks.Domain
Getting Started
Restore dependencies:
dotnet restoreBuild the project:
dotnet buildReference and use the caching services in your application as needed. See the
Caching/directory for available services.Config Redis connection in your environments.
- Environment Variable:
ENV_CACHE_REDIS_CONNECTION - Example Value:
localhost:6379,password=yourpassword,ssl=False,abortConnect=False - Environment Variable:
ENV_CACHE_ENABLE_REDIS - Example Value:
true
Project Structure
Caching/- Core caching services and logicModels/- Cache models (e.g.,OrganizationCache)CacheKeys.cs- Common cache key definitions
Dependencies
- StackExchange.Redis
- Newtonsoft.Json
- MediatR
- Microsoft.AspNetCore.Mvc
- Swashbuckle.AspNetCore
Contribution
For questions or contributions, please contact the NERA development team.
License
Proprietary. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.Extensions.Caching.Abstractions (>= 9.0.10)
- Microsoft.Extensions.Caching.Memory (>= 9.0.10)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 9.0.10)
- Microsoft.Extensions.Configuration (>= 9.0.10)
- Microsoft.Extensions.DependencyInjection (>= 9.0.10)
- Microsoft.Extensions.Hosting (>= 9.0.10)
- Microsoft.Extensions.Logging (>= 9.0.10)
- Microsoft.Extensions.Options (>= 9.0.10)
- Newtonsoft.Json (>= 13.0.4)
- StackExchange.Redis (>= 2.9.11)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Nera.Lib.Caching:
| Package | Downloads |
|---|---|
|
Nera.Lib.Web
Web models, business rules, aggregates, value objects, and domain services for Nera applications |
|
|
Nera.Lib.Database
Database access layer with Entity Framework Core, Repository pattern, Specification pattern, and advanced querying capabilities for Nera applications |
|
|
Nera.Lib.Infrastructure
Infrastructure services and implementations for Nera applications |
|
|
Nera.Lib.Cloud
Cloud service abstractions and implementations for Nera applications (Storage, Messaging, Email) |
GitHub repositories
This package is not used by any popular GitHub repositories.