Net.DistributedFileStoreCache 2.0.0

dotnet add package Net.DistributedFileStoreCache --version 2.0.0
NuGet\Install-Package Net.DistributedFileStoreCache -Version 2.0.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="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Net.DistributedFileStoreCache --version 2.0.0
#r "nuget: Net.DistributedFileStoreCache, 2.0.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=2.0.0

// Install Net.DistributedFileStoreCache as a Cake Tool
#tool nuget:?package=Net.DistributedFileStoreCache&version=2.0.0


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 file for details of changes.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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

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
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
Version Downloads Last updated
2.0.0 25,689 11/15/2022
1.1.0 3,230 10/14/2022
1.0.0 808 8/4/2022

Changed target framework to netstandard2.1 to work with any version of .NET