TCIS.Caching
1.0.0-rc.10
dotnet add package TCIS.Caching --version 1.0.0-rc.10
NuGet\Install-Package TCIS.Caching -Version 1.0.0-rc.10
<PackageReference Include="TCIS.Caching" Version="1.0.0-rc.10" />
<PackageVersion Include="TCIS.Caching" Version="1.0.0-rc.10" />
<PackageReference Include="TCIS.Caching" />
paket add TCIS.Caching --version 1.0.0-rc.10
#r "nuget: TCIS.Caching, 1.0.0-rc.10"
#:package TCIS.Caching@1.0.0-rc.10
#addin nuget:?package=TCIS.Caching&version=1.0.0-rc.10&prerelease
#tool nuget:?package=TCIS.Caching&version=1.0.0-rc.10&prerelease
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 | Versions 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- TCIS.Core (>= 1.0.0-rc.10)
- TCIS.Logging.Abstractions (>= 1.0.0-rc.10)
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 |