GerwimFeiken.Cache
1.8.1
dotnet add package GerwimFeiken.Cache --version 1.8.1
NuGet\Install-Package GerwimFeiken.Cache -Version 1.8.1
<PackageReference Include="GerwimFeiken.Cache" Version="1.8.1" />
paket add GerwimFeiken.Cache --version 1.8.1
#r "nuget: GerwimFeiken.Cache, 1.8.1"
// Install GerwimFeiken.Cache as a Cake Addin #addin nuget:?package=GerwimFeiken.Cache&version=1.8.1 // Install GerwimFeiken.Cache as a Cake Tool #tool nuget:?package=GerwimFeiken.Cache&version=1.8.1
GerwimFeiken.Cache
.NET library which provides key value cache functionality.
Supported providers
- In memory cache (
InMemoryCache
) - Cloudflare KV storage (
CloudflareCache
) - Redis (
RedisCache
)
How to use
Dependency injection
builder.Services.AddSingleton<ICache>(new Provider());
where Provider
is one of the supported providers.
Console application / class library
ICache cache = new Provider()
General configuration
When creating the provider, you'll need to pass options. These will extend from options. You can override these values when instantiating your provider.
InMemoryCache
Requires the package GerwimFeiken.Cache.InMemory
.
CloudflareCache
Requires the package GerwimFeiken.Cache.Cloudflare
.
See documentation for additional requirements.
RedisCache
Requires the package GerwimFeiken.Cache.Redis
.
See documentation for additional requirements.
Development
Tests
Some of the tests might be an integration test. You'll need to specify correct options for these to work.
Pack
To pack this library to use on NuGet, run the dotnet pack
command:
dotnet pack -c release
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. |
.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
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on GerwimFeiken.Cache:
Package | Downloads |
---|---|
GerwimFeiken.Cache.InMemory
Package Description |
|
GerwimFeiken.Cache.Redis
Package Description |
|
GerwimFeiken.Cache.Cloudflare
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.8.1 | 2,689 | 2/20/2024 |
1.8.0 | 256 | 2/19/2024 |
1.7.1 | 300 | 2/15/2024 |
1.7.0 | 353 | 2/8/2024 |
1.6.0 | 347 | 2/8/2024 |
1.5.0 | 860 | 12/22/2023 |
1.4.0 | 1,621 | 10/18/2023 |
1.3.0 | 1,670 | 8/3/2023 |
1.2.0 | 495 | 7/28/2023 |
1.1.1 | 725 | 7/11/2023 |
1.1.0 | 2,810 | 1/25/2023 |
1.0.0 | 416 | 1/22/2023 |
0.0.5 | 460 | 1/22/2023 |
0.0.4 | 346 | 1/22/2023 |
0.0.3 | 373 | 1/11/2023 |
0.0.2 | 374 | 1/10/2023 |
0.0.1 | 373 | 1/10/2023 |