TCIS.Caching 1.0.0-rc.10

This is a prerelease version of TCIS.Caching.
dotnet add package TCIS.Caching --version 1.0.0-rc.10
                    
NuGet\Install-Package TCIS.Caching -Version 1.0.0-rc.10
                    
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="TCIS.Caching" Version="1.0.0-rc.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TCIS.Caching" Version="1.0.0-rc.10" />
                    
Directory.Packages.props
<PackageReference Include="TCIS.Caching" />
                    
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 TCIS.Caching --version 1.0.0-rc.10
                    
#r "nuget: TCIS.Caching, 1.0.0-rc.10"
                    
#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 TCIS.Caching@1.0.0-rc.10
                    
#: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=TCIS.Caching&version=1.0.0-rc.10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TCIS.Caching&version=1.0.0-rc.10&prerelease
                    
Install as a Cake Tool

TCIS.Caching

The foundational library providing core abstractions (interfaces) for the Caching system within the TCIS ecosystem. This project defines standard contracts such as ICacheService, ICacheKeyNormalizer, and ICacheSerializer, ensuring consistency and making it easy to swap caching implementations (In-Memory, Redis, Hybrid).

📦 Installation

Add the package to your project:

dotnet add package TCIS.Caching

🚀 Registration / Setup (Dependency Injection)

In the Program.cs file, use the AddTCaching extension method to register the core caching components:

builder.Services.AddTCaching(options => 
{
    options.GlobalKeyPrefix = "tcis";
    options.DefaultAbsoluteExpirationMinutes = 20;
    options.CacheEmptyCollections = false;
});

💡 Usage

Inject ICacheService into your services or controllers:

public class MyService
{
    private readonly ICacheService _cacheService;

    public MyService(ICacheService cacheService)
    {
        _cacheService = cacheService;
    }

    public async Task<MyData> GetDataAsync(string key)
    {
        // Use ICacheService to interact with the cache
        return await _cacheService.GetAsync<MyData>(key);
    }
}

Note: TCIS.Caching only provides abstractions. You must also use TCIS.Caching.InMemory, TCIS.Caching.Redis, or TCIS.Caching.Hybrid for an actual implementation.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on TCIS.Caching:

Package Downloads
TCIS.Caching.InMemory

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. In-memory caching provider for TCIS Framework.

TCIS.Caching.Redis

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Redis caching provider for TCIS Framework.

TCIS.Caching.Hybrid

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Hybrid caching (L1/L2) implementation for TCIS Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc.10 26 7/24/2026
1.0.0-rc.9 46 7/21/2026
1.0.0-rc.8 46 7/21/2026
1.0.0-rc.7 57 7/17/2026
1.0.0-rc.6 73 7/7/2026
1.0.0-rc.5 69 7/7/2026
1.0.0-rc.4 70 6/24/2026
1.0.0-rc.2 78 5/12/2026
1.0.0-rc.1 77 5/12/2026