Nera.Lib.Caching 1.0.10

There is a newer prerelease version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nera.Lib.Caching" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nera.Lib.Caching" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Nera.Lib.Caching" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nera.Lib.Caching --version 1.0.10
                    
#r "nuget: Nera.Lib.Caching, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nera.Lib.Caching@1.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nera.Lib.Caching&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Nera.Lib.Caching&version=1.0.10
                    
Install as a Cake Tool

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

  1. Restore dependencies:

    dotnet restore
    
  2. Build the project:

    dotnet build
    
  3. Reference and use the caching services in your application as needed. See the Caching/ directory for available services.

  4. 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 logic
  • Models/ - 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
2.0.0-dev0.4 119 3/4/2026
2.0.0-dev0.2 97 3/2/2026
1.0.10 276 2/3/2026
1.0.9 92 2/3/2026
1.0.8 395 1/9/2026
1.0.7 365 1/4/2026
1.0.6 905 10/18/2025
1.0.5 382 9/26/2025
1.0.4 292 9/15/2025
1.0.3 269 9/14/2025
1.0.2 860 9/9/2025
1.0.1 538 7/27/2025
1.0.0 272 7/27/2025