TCIS.AspNetCore
1.0.0-rc.9
dotnet add package TCIS.AspNetCore --version 1.0.0-rc.9
NuGet\Install-Package TCIS.AspNetCore -Version 1.0.0-rc.9
<PackageReference Include="TCIS.AspNetCore" Version="1.0.0-rc.9" />
<PackageVersion Include="TCIS.AspNetCore" Version="1.0.0-rc.9" />
<PackageReference Include="TCIS.AspNetCore" />
paket add TCIS.AspNetCore --version 1.0.0-rc.9
#r "nuget: TCIS.AspNetCore, 1.0.0-rc.9"
#:package TCIS.AspNetCore@1.0.0-rc.9
#addin nuget:?package=TCIS.AspNetCore&version=1.0.0-rc.9&prerelease
#tool nuget:?package=TCIS.AspNetCore&version=1.0.0-rc.9&prerelease
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: RegistersTWorkContextAccessor,IUserContext,ITenantContext,ITraceContext, and JSON configurations.UseTCISCore: RegistersTCorrelationIdMiddlewareto automatically set/get CorrelationId, andTExceptionMiddlewarefor global error handling.UseTWorkContext: Initializes and assigns Context (Tenant, User, Trace) for the current flow.TAuthServiceExtensions: ProvidesAddTAuthandAddTApiKeyVerifierto integrate standard authentication infrastructure.
| 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
- FluentValidation (>= 11.11.0)
- FluentValidation.AspNetCore (>= 11.3.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.11.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- TCIS.Core (>= 1.0.0-rc.9)
- TCIS.Logging (>= 1.0.0-rc.9)
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 |