Truss.Testing 0.3.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Truss.Testing --version 0.3.4
                    
NuGet\Install-Package Truss.Testing -Version 0.3.4
                    
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="Truss.Testing" Version="0.3.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Truss.Testing" Version="0.3.4" />
                    
Directory.Packages.props
<PackageReference Include="Truss.Testing" />
                    
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 Truss.Testing --version 0.3.4
                    
#r "nuget: Truss.Testing, 0.3.4"
                    
#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 Truss.Testing@0.3.4
                    
#: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=Truss.Testing&version=0.3.4
                    
Install as a Cake Addin
#tool nuget:?package=Truss.Testing&version=0.3.4
                    
Install as a Cake Tool

Truss

Truss is a modular .NET framework for building applications with DDD, CQRS and Clean Architecture, focused on developer experience, explicit behavior and minimal dependencies per layer.

Full documentation: https://joaoaalves.github.io/Truss

Early development. APIs are subject to change until v1.

Packages

Package Purpose Layer
Truss.Domain Entities, aggregate roots, value objects, typed ids, business rules, domain events. Zero dependencies. Domain
Truss.Application.Abstractions Contracts for commands, queries, handlers, pipeline behaviors and unit of work. Application
Truss.Application Dispatcher, validation pipeline and handler registration. Application / Composition root
Truss.Persistence.EntityFrameworkCore EF Core unit of work with automatic commit and domain event dispatching. Infrastructure
Truss.AspNetCore Endpoint mapping for commands and queries with automatic ProblemDetails responses. API / Host
Truss.Generators Compile-time handler discovery and dispatch, missing handlers as build diagnostics. Build (dev dependency)
Truss.Messaging.Abstractions Contracts for integration events, handlers and the publisher. Application
Truss.Messaging Versioned JSON serialization, outbox runtime, transport seam, in-memory transport. Infrastructure
Truss.Messaging.EntityFrameworkCore Transactional outbox stored through EF Core. Infrastructure
Truss.Messaging.Postgres Durable Postgres transport: SKIP LOCKED queue with LISTEN/NOTIFY wake-up. Infrastructure
Truss.Messaging.RabbitMq Durable RabbitMQ transport: quorum queues with publisher confirms and broker-side dead-lettering. Infrastructure
Truss.Messaging.Redis Durable Redis transport over Streams with consumer groups. Infrastructure
Truss.Jobs.Abstractions Contracts for background jobs, scheduling and monitoring. Application
Truss.Jobs Job runtime: transactional enqueueing, retry, timeout, scheduled and recurring jobs. Infrastructure
Truss.Jobs.EntityFrameworkCore Job records persisted in the application database. Infrastructure
Truss.Jobs.AspNetCore Progress endpoints: polling and server-sent events. API / Host
Truss.Observability Structured request logging, spans, metrics and ambient correlation. Cross-cutting
Truss.Observability.AspNetCore Correlation middleware bridging HTTP headers. API / Host
Truss.Observability.OpenTelemetry OTLP export of the framework's traces, metrics and logs in one registration. API / Host
Truss.Testing Integration test host: pipeline, throwaway database, transport and jobs in one call. Tests
Truss.Cli The truss command line: scaffolding, module installation, code generation. Tooling (dotnet tool)
Truss.Mapping Compile-time DTO mappers with typed id unwrapping and unmapped members as build errors. Build (dev dependency)
Truss.Auth.Abstractions Contracts for password hashing and token issuing. Application
Truss.Auth.Jwt PBKDF2 hashing, JWT issuing and JwtBearer wiring; the user model is scaffolded into your domain. API / Host
Truss.Email.Abstractions Contracts for sending email from the application layer. Application
Truss.Email SMTP sender through MailKit and a console sender for development. API / Host
Truss.Email.Resend Delivery through the Resend API behind the same sender abstraction. API / Host
Truss.Tenancy.Abstractions The ambient tenant context, readable anywhere. Application
Truss.Tenancy.EntityFrameworkCore Row-level isolation: shadow column, query filter and automatic stamping. Infrastructure
Truss.Tenancy.AspNetCore Tenant resolution from claims, headers or a custom strategy. API / Host
Truss.Rbac Roles in code mapping to permissions, RequirePermission and claims enrichment. API / Host
Truss.Rbac.EntityFrameworkCore Role assignments persisted in the application database. Infrastructure

Principles

  • Explicit over implicit. No hidden conventions, no runtime magic.
  • Minimal dependencies per layer. The domain layer depends on nothing; the application layer never sees the ORM.
  • Developer experience first. Commands validate themselves, the unit of work commits automatically, domain events dispatch at the right moment.
  • Failure transparency. Exceptions propagate with their original stack trace.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.2 89 8/26/2026
0.5.1 85 8/26/2026
0.5.0 94 8/25/2026
0.4.0 98 8/10/2026
0.3.8 95 8/10/2026
0.3.7 92 8/10/2026
0.3.6 100 8/10/2026
0.3.5 107 8/10/2026
0.3.4 101 8/8/2026
0.3.3 96 8/8/2026
0.3.2 100 8/8/2026
0.3.1 97 8/7/2026
0.3.0 102 8/7/2026