Net.DistributedFileStoreCache
1.1.0
See the version list below for details.
dotnet add package Net.DistributedFileStoreCache --version 1.1.0
NuGet\Install-Package Net.DistributedFileStoreCache -Version 1.1.0
<PackageReference Include="Net.DistributedFileStoreCache" Version="1.1.0" />
paket add Net.DistributedFileStoreCache --version 1.1.0
#r "nuget: Net.DistributedFileStoreCache, 1.1.0"
// Install Net.DistributedFileStoreCache as a Cake Addin #addin nuget:?package=Net.DistributedFileStoreCache&version=1.1.0 // Install Net.DistributedFileStoreCache as a Cake Tool #tool nuget:?package=Net.DistributedFileStoreCache&version=1.1.0
Net.DistributedFileStoreCache
This repo contains the Net.DistributedFileStoreCache library provides a .NET distributed cache that has two excellent features
- It can get cache values blistering fast – it only takes ~25 ns. to Get one entry in a cache containing 10,000 entries.
- It can also read ALL 10,000 cache entries in ~85 ns. too.
- It uses a json file as the shared resource which makes it really easy to setup, and you don't need to setup / pay for a database for your cache.
The main downsides is its slower than the database-bases distributed cache libraries when updating the cache values. See Performance figures for more information.
The Net.DistributedFileStoreCache is an open-source library under the MIT license and a NuGet package. The documentation can be found in the GitHub wiki and see the ReleaseNotes.md file for details of changes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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 was computed. 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. |
-
net6.0
- Microsoft.AspNetCore.Hosting (>= 2.2.7)
- Microsoft.Extensions.Caching.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Configuration (>= 6.0.1)
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Net.DistributedFileStoreCache:
Package | Downloads |
---|---|
AuthPermissions.AspNetCore
Provides extra authorization and multi-tenant features to an ASP.NET Core application. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Net.DistributedFileStoreCache:
Repository | Stars |
---|---|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
- New Feature: SetMany / SetManyAsync now allows you to many entries in one go. This can add many entries as quickly as a single Set call.
- New Feature: SetManyClass / SetManyClassAsync now allows you to many entries in one go. This can add many entries as quickly as a single SetClass call.
- New Feature: ClearAll now has an option to add a list of key/value pairs into the json cache file after the cache is cleared