Working with a simple In-Memory Cache shouldn't cause anyone a headache. It should be simple to use and implemented at the click of a button.
Enter MemoryCache, a very lightweight, thread safe In-Memory Cache ready to be used in scalable, multi-threaded solutions. MemoryCache is a .Net Library which can be installed directly from NuGet, making it quick and easy to store and retrieve objects.
Install-Package MemoryCache -Version 1.2.0
dotnet add package MemoryCache --version 1.2.0
<PackageReference Include="MemoryCache" Version="1.2.0" />
paket add MemoryCache --version 1.2.0
V1.2.0 - Added overload to declare item expiration when storing. Added update method which persists object expiration. Added method to extend object expiration time.
V1.1.0 - Added automated maintenance and cache item expirations
V1.0.1 - Added missing .pdb File
V1.0.0 - Initial Release
This package has no dependencies.
This package is not used by any popular GitHub repositories.