TCJ.Core
0.1.0-preview.4
dotnet add package TCJ.Core --version 0.1.0-preview.4
NuGet\Install-Package TCJ.Core -Version 0.1.0-preview.4
<PackageReference Include="TCJ.Core" Version="0.1.0-preview.4" />
<PackageVersion Include="TCJ.Core" Version="0.1.0-preview.4" />
<PackageReference Include="TCJ.Core" />
paket add TCJ.Core --version 0.1.0-preview.4
#r "nuget: TCJ.Core, 0.1.0-preview.4"
#:package TCJ.Core@0.1.0-preview.4
#addin nuget:?package=TCJ.Core&version=0.1.0-preview.4&prerelease
#tool nuget:?package=TCJ.Core&version=0.1.0-preview.4&prerelease
TCJ.Core
TCJ.Core provides the framework-neutral foundation for TCJ Framework: results, structured errors, entities, domain events, guards, UUID v7 identifiers, current-user contracts, resilience primitives, health contracts, observability contracts, and transactional-outbox abstractions.
Install
dotnet add package TCJ.Core --prerelease
TCJ Framework is currently pre-1.0. Pin the exact preview version used by your application when reproducibility matters.
Highlights
ResultandResult<T>for explicit success/failure flows.- Entity and domain-event primitives for modular domain models.
- Guard helpers and UUID v7 identifier generation.
- Framework-neutral current-user and security contracts.
- Resilience, health, observability, and outbox contracts shared by higher-level TCJ packages.
net10.0target with the repository's Full Native AOT/trimming support tier for this package.
Example
using TCJ.Core.Results;
Result<int> result = int.TryParse(input, out int value)
? Result.Success(value)
: Result.Failure<int>(CommonErrors.Validation("A number is required."));
Documentation
- TCJ.Core package documentation
- Result and HTTP guide
- Domain events guide
- Native AOT and trimming guide
- Repository
- Issues
License
TCJ Framework is licensed under GNU LGPL v3.0 only (LGPL-3.0-only). See the repository license for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on TCJ.Core:
| Package | Downloads |
|---|---|
|
TCJ.AspNetCore
ASP.NET Core integration for TCJ, including current-user resolution, Result-to-HTTP mapping, Problem Details, and centralized exception handling. |
|
|
TCJ.EntityFrameworkCore
Entity Framework Core infrastructure for TCJ, including repositories, specifications, unit of work, auditing, soft delete, seeding, and entity metadata search. |
|
|
TCJ.EntityFrameworkCore.SqlServer
SQL Server provider integration for TCJ Entity Framework Core, including resilient registration options and rowversion conventions. |
|
|
TCJ.DependencyInjection
Convention-based dependency registration and sequential domain-event dispatching for modular .NET applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.4 | 4,928 | 9/1/2026 |
| 0.1.0-preview.3 | 2,422 | 8/16/2026 |
| 0.1.0-preview.2 | 279 | 8/15/2026 |
| 0.1.0-preview.1 | 2,048 | 8/2/2026 |
TCJ Framework preview release. Public APIs may change before 1.0.0. Changelog: https://github.com/Amir-ESH/TCJ.Framework/blob/main/CHANGELOG.md