Cuemon.Runtime.Caching 6.2.0

Install-Package Cuemon.Runtime.Caching -Version 6.2.0
dotnet add package Cuemon.Runtime.Caching --version 6.2.0
<PackageReference Include="Cuemon.Runtime.Caching" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.Runtime.Caching --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cuemon.Runtime.Caching, 6.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cuemon.Runtime.Caching as a Cake Addin
#addin nuget:?package=Cuemon.Runtime.Caching&version=6.2.0

// Install Cuemon.Runtime.Caching as a Cake Tool
#tool nuget:?package=Cuemon.Runtime.Caching&version=6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The Cuemon.Runtime.Caching namespace contains types related to interfaces for generic caching in applications while providing a concrete in-memory cache implementation named SlimMemoryCache. The namespace is an addition to the System.Runtime.Caching namespace.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Cuemon.Runtime.Caching:

Package Downloads
Cuemon.Extensions.Runtime.Caching

The Cuemon.Extensions.Runtime.Caching namespace contains extension methods that complements the Cuemon.Runtime.Caching namespace by adding support for Memoization techniques and GetOrAdd convenience; both with vast overloads and extended by the ICacheEnumerable{TKey} interface for loose coupling.

Cuemon.Core.App

Provides a convenient set of default API additions for building a .NET Core application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.2.0 156 5/30/2021
6.1.0 143 5/16/2021
6.0.1 123 5/3/2021
6.0.1-rc 121 5/3/2021
6.0.0 126 4/18/2021
6.0.0-rc.23 73 4/18/2021
6.0.0-rc.21 45 4/12/2021
6.0.0-rc.20 59 4/1/2021
6.0.0-rc.18 143 3/22/2021
6.0.0-rc.17 53 3/14/2021
6.0.0-rc.16 85 3/7/2021
6.0.0-rc.15 74 3/4/2021
6.0.0-rc.14 90 3/4/2021
6.0.0-rc.12 99 3/3/2021
6.0.0-rc.6 69 2/28/2021
6.0.0-rc.2 75 2/28/2021
5.0.2019.40 1,299 2/10/2019
5.0.2018.310 735 11/6/2018
5.0.2018.251 2,492 9/10/2018
5.0.2018.250 641 9/9/2018
4.3.2018.2200 738 8/8/2018
4.3.2018.2070 682 7/27/2018
4.2.2018.840 814 2/10/2018

Version: 6.0.0
Availability: NET Standard 2.0, NET 5.0
 
# Upgrade Steps
- Some features (such as Memoization techniques and GetOrAdd convenience) was moved to the Cuemon.Extensions.Runtime.Caching namespace as extension methods (to keep the ICacheEnumerable{TKey} slim)
- The extent of refactoring applied to this project resulted in so many breaking changes that a git diff is advisable
 
# Breaking Changes
- CHANGED CachingManager class to return a singleton of SlimMemoryCache with default options (kept for legacy and convenience)
- REPLACED Cache class in the Cuemon.Runtime.Caching namespace with CacheEntry and split the cache invalidation part into its own class; CacheInvalidation
- REPLACED CacheCollection class in the Cuemon.Runtime.Caching namespace with SlimMemoryCache
 
# New Features
- ADDED CacheEntry class in the Cuemon.Runtime.Caching namespace that represents an individual cache entry in the cache
- ADDED CacheInvalidation class in the Cuemon.Runtime.Caching namespace that represents a set of eviction and expiration details for a specific cache entry
- ADDED ICacheEnumerable{TKey} interface in the Cuemon.Runtime.Caching namespace that is used to provide cache implementations for an application
- ADDED SlimMemoryCache class in the Cuemon.Runtime.Caching namespace that represents the type that implements an in-memory cache for an application
- ADDED SlimMemoryCacheOptions class in the Cuemon.Runtime.Caching namespace that specifies options related to SlimMemoryCache