PowerCSharp.Feature.Cache.Abstractions
1.3.2
dotnet add package PowerCSharp.Feature.Cache.Abstractions --version 1.3.2
NuGet\Install-Package PowerCSharp.Feature.Cache.Abstractions -Version 1.3.2
<PackageReference Include="PowerCSharp.Feature.Cache.Abstractions" Version="1.3.2" />
<PackageVersion Include="PowerCSharp.Feature.Cache.Abstractions" Version="1.3.2" />
<PackageReference Include="PowerCSharp.Feature.Cache.Abstractions" />
paket add PowerCSharp.Feature.Cache.Abstractions --version 1.3.2
#r "nuget: PowerCSharp.Feature.Cache.Abstractions, 1.3.2"
#:package PowerCSharp.Feature.Cache.Abstractions@1.3.2
#addin nuget:?package=PowerCSharp.Feature.Cache.Abstractions&version=1.3.2
#tool nuget:?package=PowerCSharp.Feature.Cache.Abstractions&version=1.3.2
PowerCSharp.Feature.Cache.Abstractions
Framework-agnostic contracts and safe-off NoOp implementations for the PowerCSharp Cache feature.
- Targets
netstandard2.0andnet8.0, so cache providers can run on .NET Framework and .NET Core. - No ASP.NET Core dependency.
- Only dependency is
Microsoft.Extensions.Logging.Abstractions(required for theILoggerparameter on NoOp services).
Contents
ICacheService— in-memory cache abstraction (withGetOrCreatestampede-safe helpers).ICacheStore— low-level cache store abstraction.IDiskCacheService— asynchronous disk-backed cache abstraction.CacheProvider— backend selector enum.CacheResult<T>/CacheResultReason— operation result model.CacheEntryMetadata,InMemoryCacheEntryMetadata,DiskCacheEntryMetadata,CacheFileKind— metadata types.NoOpCacheService/NoOpDiskCacheService— safe-off floors so dependents always resolve.
Namespaces
This package uses three namespaces; import the ones you need:
using PowerCSharp.Feature.Cache.Abstractions; // ICacheService, IDiskCacheService, CacheResult<T>, metadata
using PowerCSharp.Feature.Cache.Abstractions.Enums; // CacheProvider, CacheResultReason, CacheEntryPriority
using PowerCSharp.Feature.Cache.Abstractions.NoOp; // NoOpCacheService, NoOpDiskCacheService
CacheProvideris not in the rootPowerCSharp.Feature.Cache.Abstractionsnamespace; it is in the.Enumssub-namespace.
Providers
PowerCSharp.Feature.Cache.BitFaster— in-memory provider.PowerCSharp.Feature.Cache.Disk— disk-backed LRU provider.
The ASP.NET feature-module wiring lives in PowerCSharp.Feature.Cache.
Details
- Package ID:
PowerCSharp.Feature.Cache.Abstractions - Depends on:
Microsoft.Extensions.Logging.Abstractions - Target frameworks:
netstandard2.0andnet8.0
| 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 is compatible. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.Logging.Abstractions (>= 8.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on PowerCSharp.Feature.Cache.Abstractions:
| Package | Downloads |
|---|---|
|
PowerCSharp.Feature.Cache
Cache feature contracts, module, options and NoOp implementations (no third-party dependencies). Pair with a provider package (e.g. PowerCSharp.Feature.Cache.BitFaster) to choose a backend. |
|
|
PowerCSharp.Feature.Cache.BitFaster
BitFaster-backed implementation of PowerCSharp.Feature.Cache. References BitFaster.Caching; this dependency is isolated here and never enters apps that do not reference this package. |
|
|
PowerCSharp.Feature.Cache.Disk
Disk-backed LRU cache implementation for the PowerCSharp Cache feature. Targets net8.0. De-branded port of proven production code with atomic writes, file-lock coordination, and background cleanup. |
GitHub repositories
This package is not used by any popular GitHub repositories.