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
#r "nuget: MemoryCache, 1.2.0"
// Install MemoryCache as a Cake Addin #addin nuget:?package=MemoryCache&version=1.2.0 // Install MemoryCache as a Cake Tool #tool nuget:?package=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.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MemoryCache:
Parses razor templates from Github (gists)
This package is not used by any popular GitHub repositories.