TCIS.AspNetCore 1.0.0-rc.9

This is a prerelease version of TCIS.AspNetCore.
dotnet add package TCIS.AspNetCore --version 1.0.0-rc.9
                    
NuGet\Install-Package TCIS.AspNetCore -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.AspNetCore" 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.AspNetCore" Version="1.0.0-rc.9" />
                    
Directory.Packages.props
<PackageReference Include="TCIS.AspNetCore" />
                    
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.AspNetCore --version 1.0.0-rc.9
                    
#r "nuget: TCIS.AspNetCore, 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.AspNetCore@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.AspNetCore&version=1.0.0-rc.9&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TCIS.AspNetCore&version=1.0.0-rc.9&prerelease
                    
Install as a Cake Tool

TCIS.AspNetCore

Overview and core features providing a standardized foundation for ASP.NET Core applications within the TCIS ecosystem. This library establishes default middlewares, filters, model validations, and configurations to ensure consistency, high performance, and compliance with architectural rules (such as Context Propagation, Error Handling).

📦 Installation

dotnet add package TCIS.AspNetCore

🚀 Usage

1. Register Services (Program.cs)

Use the provided extension methods to register core components:

using TCIS.AspNetCore.Extensions;

var builder = WebApplication.CreateBuilder(args);

// Configure default Host (enables DI Validation: ValidateOnBuild, ValidateScopes)
builder.Host.ConfigureTDefaults();

// Register core services, IWorkContextAccessor, DateTimeService, 
// enterprise standard JSON configuration (camelCase, ignore null, reference loops)
builder.Services.AddTAspNetCore();

// Register Controllers with FluentValidation and standard validation filter (TApiResponse)
builder.Services.AddControllerPart(typeof(Program).Assembly);

// (Optional) Register Authentication infrastructure if needed
// builder.Services.AddTAuth(builder.Configuration);
// builder.Services.AddTApiKeyVerifier(builder.Configuration);

2. Configure Middleware Pipeline

In the HTTP request pipeline configuration section:

var app = builder.Build();

// Use TCIS Core middlewares: TCorrelationIdMiddleware, TExceptionMiddleware
app.UseTCISCore();

// Use TAuthenticationMiddleware (if authentication is required)
app.UseTAuthentication();

// Initialize TWorkContext from request (Headers, User claims, etc.)
app.UseTWorkContext();

app.MapControllers();

// Register health checks (/health/live, /health/ready)
app.MapTHealthChecks();

app.Run();

⚙️ Core Components

  • AddTAspNetCore: Registers TWorkContextAccessor, IUserContext, ITenantContext, ITraceContext, and JSON configurations.
  • UseTCISCore: Registers TCorrelationIdMiddleware to automatically set/get CorrelationId, and TExceptionMiddleware for global error handling.
  • UseTWorkContext: Initializes and assigns Context (Tenant, User, Trace) for the current flow.
  • TAuthServiceExtensions: Provides AddTAuth and AddTApiKeyVerifier to integrate standard authentication infrastructure.
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 (4)

Showing the top 4 NuGet packages that depend on TCIS.AspNetCore:

Package Downloads
TCIS.Http.Grpc

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. gRPC client and server integration for TCIS Framework.

TCIS.MultiTenancy.AspNetCore

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. ASP.NET Core multi-tenancy integration for TCIS Framework.

TCIS.Authentication.OpenIdConnect

OpenID Connect Authentication for TCIS Framework.

TCIS.AspNetCore.SignalR

ASP.NET Core SignalR integration for TCIS Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc.9 36 7/21/2026
1.0.0-rc.8 32 7/21/2026
1.0.0-rc.7 68 7/17/2026
1.0.0-rc.6 85 7/7/2026
1.0.0-rc.5 81 7/7/2026
1.0.0-rc.4 87 6/24/2026
1.0.0-rc.2 86 5/12/2026
1.0.0-rc.1 73 5/12/2026