Cross.Cache 7.5.1

dotnet add package Cross.Cache --version 7.5.1
                    
NuGet\Install-Package Cross.Cache -Version 7.5.1
                    
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="Cross.Cache" Version="7.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cross.Cache" Version="7.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Cross.Cache" />
                    
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 Cross.Cache --version 7.5.1
                    
#r "nuget: Cross.Cache, 7.5.1"
                    
#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 Cross.Cache@7.5.1
                    
#: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=Cross.Cache&version=7.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Cross.Cache&version=7.5.1
                    
Install as a Cake Tool

CI MyGet (dev)

Nuget Nuget Documentation

Cross.Cache

A flexible and efficient caching library for .NET applications that provides:

Key Features

  • Multiple cache provider support (In-Memory and Redis)
  • Easy integration with dependency injection
  • Asynchronous operations with TTL support
  • Built-in monitoring and metrics (OpenTelemetry integration)
  • Thread-safe operations
  • Configurable through standard .NET configuration system

Storage Options

  • In-Memory caching for single-server scenarios
  • Redis support for distributed caching
  • Automatic failover and connection management for Redis

Performance

  • Thread-safe concurrent operations
  • Optimized for high-performance scenarios
  • Efficient memory usage

Integration

  • Simple setup through extension methods
  • Compatible with .NET 7.0 and higher
  • Built-in Microsoft DI container support

Monitoring

  • Detailed cache statistics
  • OpenTelemetry metrics support
  • Per-key performance tracking

This library is designed to provide a robust caching solution for both simple and complex .NET applications, offering flexibility in cache storage choices while maintaining high performance and reliability.

Roadmap:

  • Implement functionality of SlidingExpiration from DistributedCacheEntryOptions options
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.5.1 76 2/24/2026
7.5.1-preview.4 40 2/24/2026
7.5.0 325 7/27/2025
7.5.0-preview.6 152 7/27/2025
7.5.0-preview.5 400 7/25/2025
7.4.0 3,483 4/21/2025
7.4.0-preview.9 175 4/21/2025
7.4.0-preview.8 169 4/21/2025
7.3.1 12,506 7/19/2024
7.3.1-preview.4 109 7/19/2024
7.3.1-preview.3 179 7/19/2024
7.3.1-preview.2 103 7/19/2024
7.3.1-preview.1 115 7/18/2024
7.3.0 10,627 6/22/2024
7.3.0-preview.6 119 6/22/2024
7.2.5 13,648 5/16/2024
Loading failed

- Added multi-targeting for net7.0 and net8.0 with aligned package dependencies.
     - Improved unit test coverage for caching services, in-memory provider and DI registration.
     - Updated build and packaging configuration for better tooling and coverage integration.