TCIS.Core
1.0.0-rc.9
See the version list below for details.
dotnet add package TCIS.Core --version 1.0.0-rc.9
NuGet\Install-Package TCIS.Core -Version 1.0.0-rc.9
<PackageReference Include="TCIS.Core" Version="1.0.0-rc.9" />
<PackageVersion Include="TCIS.Core" Version="1.0.0-rc.9" />
<PackageReference Include="TCIS.Core" />
paket add TCIS.Core --version 1.0.0-rc.9
#r "nuget: TCIS.Core, 1.0.0-rc.9"
#:package TCIS.Core@1.0.0-rc.9
#addin nuget:?package=TCIS.Core&version=1.0.0-rc.9&prerelease
#tool nuget:?package=TCIS.Core&version=1.0.0-rc.9&prerelease
TCIS.Core
📖 Overview
TCIS.Core is the foundational library (core primitives) of the TCIS Framework ecosystem. This library provides fundamental structures, guard clauses, base classes, along with the unified TValidationException structure and processing results (results) used consistently across all services.
✨ Features
- TGuard: A central Guard utility for throwing domain-typed exceptions (
TValidationException,TInvalidConfigException) instead of standard BCL exceptions. - Exceptions Taxonomy: System base exceptions (
StatusCode,Provider). - Extensions: Useful extension methods such as
GenericTypeExtensionsfor generic types. - Abstractions: Core interfaces related to processing contexts.
📦 Installation
dotnet add package TCIS.Core
🚀 Usage
1. Using TGuard for Input Validation
Using TGuard is mandatory at trust boundaries such as Public Services, Middleware, Interceptors, etc.
using TCIS.Core.Abstractions;
public class MyService : IMyService
{
private const string Provider = "my-service";
public void DoWork(string userId, object payload)
{
// Check for Null or Whitespace
TGuard.NotNullOrWhiteSpace(userId, provider: Provider);
// Check for Null object
TGuard.NotNull(payload, provider: Provider);
// Business logic processing...
}
}
2. Guard with Configuration Parameters
When retrieving configuration data, use the configuration support function:
public class MyConfiguredService
{
private const string Provider = "my-configured-service";
public MyConfiguredService(IConfiguration config)
{
var apiKey = config["MyService:ApiKey"];
TGuard.NotNullOrWhiteSpaceConfig(apiKey, "MyService:ApiKey", Provider);
}
}
⚠️ Design Guidelines (TCIS Purity Rules)
- Zero external dependencies:
TCIS.Coredoes not contain references to EntityFramework, AspNetCore, Dapper, or any external libraries. - Prefix
T*: Primitive framework base classes are prefixed withT(e.g.,TGuard,TValidationException). Domain types MUST NOT use theT*prefix.
| 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
- No dependencies.
NuGet packages (28)
Showing the top 5 NuGet packages that depend on TCIS.Core:
| Package | Downloads |
|---|---|
|
TCIS.Logging.Abstractions
TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Logging abstractions for TCIS Framework. |
|
|
TCIS.Logging
TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Logging services and integration for TCIS Framework. |
|
|
TCIS.EventBus
TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Event Bus abstractions and base implementation for TCIS Framework. |
|
|
TCIS.AspNetCore
TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. ASP.NET Core integration for TCIS Framework. |
|
|
TCIS.Diagnostics.Advanced
Advanced diagnostics and latency-aware health check engine for TCIS Framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-rc.10 | 34 | 7/24/2026 |
| 1.0.0-rc.9 | 173 | 7/21/2026 |
| 1.0.0-rc.8 | 172 | 7/21/2026 |
| 1.0.0-rc.7 | 201 | 7/17/2026 |
| 1.0.0-rc.6 | 203 | 7/7/2026 |
| 1.0.0-rc.5 | 202 | 7/7/2026 |
| 1.0.0-rc.4 | 175 | 6/24/2026 |
| 1.0.0-rc.2 | 178 | 5/12/2026 |
| 1.0.0-rc.1 | 167 | 5/12/2026 |