ArkaSoftware.Extensions.Chaching.Abstractions 2.0.0

dotnet add package ArkaSoftware.Extensions.Chaching.Abstractions --version 2.0.0
                    
NuGet\Install-Package ArkaSoftware.Extensions.Chaching.Abstractions -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="ArkaSoftware.Extensions.Chaching.Abstractions" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ArkaSoftware.Extensions.Chaching.Abstractions" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ArkaSoftware.Extensions.Chaching.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ArkaSoftware.Extensions.Chaching.Abstractions --version 2.0.0
                    
#r "nuget: ArkaSoftware.Extensions.Chaching.Abstractions, 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.
#:package ArkaSoftware.Extensions.Chaching.Abstractions@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ArkaSoftware.Extensions.Chaching.Abstractions&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ArkaSoftware.Extensions.Chaching.Abstractions&version=2.0.0
                    
Install as a Cake Tool

ArkaSoftware.Extensions.Chaching.Abstractions

ArkaSoftware.Extensions.Chaching.Abstractions is a lightweight and flexible caching abstraction library designed to define a clean contract (ICacheAdapter) for implementing caching mechanisms in .NET applications. It allows you to create and switch between different caching strategies (in-memory, distributed, fake/testing) with ease.


Description

ArkaSoftware.Extensions.Caching.Abstractions offers a flexible and decoupled caching interface for .NET and ASP.NET Core applications. It provides support for absolute and sliding expiration policies, and includes a built-in fake adapter ideal for testing or environments where caching is optional. This abstraction allows developers to implement and swap caching mechanisms (e.g., in-memory, Redis, distributed cache) without coupling to specific implementations.


🚀 Features

  • Simple and extensible cache interface (ICacheAdapter)
  • Support for absolute and sliding expiration
  • A ready-to-use FakeCacheAdapter for testing purposes
  • Ideal for use in layered architecture or clean architecture projects
  • Completely decoupled and reusable

📦 Installation

Option 1: Add as a Project Reference

Add the .csproj directly to your solution and reference it from other projects.

# In your main application project
<ProjectReference Include="..\ArkaSoftware.Extensions.Chaching.Abstractions\Extensions.Caching.Abstractions.csproj" />
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on ArkaSoftware.Extensions.Chaching.Abstractions:

Package Downloads
ArkaSoftware.Utilities.Authentication.APIAuthentication

ArkaSoftware.Utilities.Auth.ApiAuthentication is a modular authentication framework for ASP.NET Core applications.

ArkaSoftware.Extensions.Caching.Distributed.InMemory

Implimentaion Caching InMemory In Asp.net Core

ArkaSoftware.Extensions.Caching.Distributed.Redis

A Redis-based distributed caching extension for .NET applications, optimized for ease of use, performance, and clean architecture.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 307 4/15/2025
1.0.0 449 4/16/2024