Cached.MemoryCache
1.0.0
Provides in-memory, caching support for Cached, the fast, easy and concurrency-safe cache library for NetCore and Net 5. Utilizes Microsoft.Extensions.Caching.Memory.MemoryCache as underlying cache provider.
Install-Package Cached.MemoryCache -Version 1.0.0
dotnet add package Cached.MemoryCache --version 1.0.0
<PackageReference Include="Cached.MemoryCache" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cached.MemoryCache --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cached.MemoryCache, 1.0.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 Cached.MemoryCache as a Cake Addin
#addin nuget:?package=Cached.MemoryCache&version=1.0.0
// Install Cached.MemoryCache as a Cake Tool
#tool nuget:?package=Cached.MemoryCache&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
# v1.0.0
- Memory caching, wrapping Microsoft.Extensions.Caching.Memory.MemoryCache.
- Cache service injection. Inject Cached using 'ICache<IMemory>'.
- Cached functions. Wrap a service call and inject it as 'ICached<Response, Request>'.
- Stampede safe (using SemaphorSlim).
Dependencies
-
.NETStandard 2.0
- Cached (>= 1.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 2.0.0)
- Microsoft.Extensions.Caching.Memory (>= 2.0.0)
-
.NETStandard 2.1
- Cached (>= 1.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 2.0.0)
- Microsoft.Extensions.Caching.Memory (>= 2.0.0)
-
net5.0
- Cached (>= 1.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 3.0.0)
- Microsoft.Extensions.Caching.Memory (>= 3.0.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 171 | 6/15/2020 |
1.0.0-beta3 | 167 | 6/15/2020 |
1.0.0-beta2 | 201 | 6/14/2020 |