Net.DistributedFileStoreCache 1.1.0

There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Net.DistributedFileStoreCache" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Net.DistributedFileStoreCache --version 1.1.0                
#r "nuget: Net.DistributedFileStoreCache, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.
Version Downloads Last updated
2.0.0 54,290 11/15/2022
1.1.0 5,411 10/14/2022
1.0.0 864 8/4/2022

- 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