TCIS.Core 1.0.0-rc.9

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

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 GenericTypeExtensions for 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.Core does not contain references to EntityFramework, AspNetCore, Dapper, or any external libraries.
  • Prefix T*: Primitive framework base classes are prefixed with T (e.g., TGuard, TValidationException). Domain types MUST NOT use the T* prefix.
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.
  • 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