Pavalisoft.Caching
1.2.1
dotnet add package Pavalisoft.Caching --version 1.2.1
NuGet\Install-Package Pavalisoft.Caching -Version 1.2.1
<PackageReference Include="Pavalisoft.Caching" Version="1.2.1" />
paket add Pavalisoft.Caching --version 1.2.1
#r "nuget: Pavalisoft.Caching, 1.2.1"
// Install Pavalisoft.Caching as a Cake Addin #addin nuget:?package=Pavalisoft.Caching&version=1.2.1 // Install Pavalisoft.Caching as a Cake Tool #tool nuget:?package=Pavalisoft.Caching&version=1.2.1
Caching
Pavalisoft.Caching is an open source caching extension for .NET Standard written in C#, which provides single unified API for both MemoryCache and DistributedCache implementations.
The main goal of the Pavalisoft.Caching package is to make developer's life easier to handle even very complex caching scenarios and concentrate on functionality. It's additional feature CacheManager supports various cache providers and implements many advanced features which can be used in single project/application.
With Pavalisoft.Caching, it is possible to implement multiple layers of caching with multiple cache providers in one place, e.g. MemoryCache and DistributedCache, in just a few lines of code.
The below diagram explains the Pavalisoft.Caching API and its usage.
Documentation & Samples
Complete Documentation is available at https://pavalisoft.github.io/Caching/ for Pavalisoft.Caching API
Refer https://github.com/pavalisoft/Caching/tree/master/Samples for reference implementations
- Pavalisoft.Caching.InMemory.Sample -
CacheManager
withInMemory
andDistributedCache
cache stores. - Pavalisoft.Caching.Redis.Sample -
CacheManager
withRedis
cache stores. - Pavalisoft.Caching.MySql.Sample -
CacheManager
withMySql
cache stores. - Pavalisoft.Caching.SqlServer.Sample -
CacheManager
withSqlServer
cache stores. - Pavalisoft.Caching.TagHelpers.Sample -
CacheManager
withCacheTagHelper
cache stores. - Pavalisoft.Caching.InMemory.NoConfigSample -
CacheManager
withInMemory
andDistributedCache
cache stores without using json configuration.
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Caching.Memory (>= 2.2.0)
- Microsoft.Extensions.Configuration (>= 2.2.0)
- Microsoft.Extensions.Configuration.Binder (>= 2.2.4)
- Microsoft.Extensions.DependencyInjection (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.2)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Pavalisoft.Caching:
Package | Downloads |
---|---|
Pavalisoft.Caching.InMemory
Pavalisoft.Caching.InMemory is a Pavalisoft.Caching specific Cache store implementation of InMemory and MemoryDistributed cache |
|
Pavalisoft.Caching.MySql
Pavalisoft.Caching.MySql is a MySql Cache store implementation of Pavalisoft.Caching |
|
Pavalisoft.Caching.SqlServer
Pavalisoft.Caching.SqlServer is a Cache store implementation of Pavalisoft.Caching |
|
Pavalisoft.Caching.Redis
Pavalisoft.Caching.Redis is a REDIS Cache store implementation of Pavalisoft.Caching |
|
Pavalisoft.Caching.TagHelpers
ASP.NET Core MVC Cache Tag Helper using Pavalisoft.Caching |
GitHub repositories
This package is not used by any popular GitHub repositories.
Json Configuration (appsettings.json) is not mandatory to configure Cache Stores and Partitions.
Developer can create the CacheSettings object with case stores and partitions then pass to the CacheManager IServiceCollcetion.AddCaching(CacheSettings cacheSettings) extension method.
No Config Sample Project as reference implementation
- Pavalisoft.Caching.InMemory.NoConfigSample