KMTS.WorkflowOrchestration.Infrastructure
1.0.3
dotnet add package KMTS.WorkflowOrchestration.Infrastructure --version 1.0.3
NuGet\Install-Package KMTS.WorkflowOrchestration.Infrastructure -Version 1.0.3
<PackageReference Include="KMTS.WorkflowOrchestration.Infrastructure" Version="1.0.3" />
<PackageVersion Include="KMTS.WorkflowOrchestration.Infrastructure" Version="1.0.3" />
<PackageReference Include="KMTS.WorkflowOrchestration.Infrastructure" />
paket add KMTS.WorkflowOrchestration.Infrastructure --version 1.0.3
#r "nuget: KMTS.WorkflowOrchestration.Infrastructure, 1.0.3"
#:package KMTS.WorkflowOrchestration.Infrastructure@1.0.3
#addin nuget:?package=KMTS.WorkflowOrchestration.Infrastructure&version=1.0.3
#tool nuget:?package=KMTS.WorkflowOrchestration.Infrastructure&version=1.0.3
KMTS.WorkflowOrchestration
A KMTS bounded-context library following the 5-layer DDD/CQRS pattern, built on top of
KMTS.Kernel. Scaffolded from the dotnet new kmts-lib
template — the single source of truth for KMTS library structure (D-01).
What this library is
KMTS.WorkflowOrchestration packages one capability as four independently-versioned NuGet layers
(Domain, Application, Infrastructure, Presentation) plus an in-repo NetArchTest
boundary suite. A host application composes it via services.AddWorkflowOrchestration().
Boundary rule
This library references only KMTS.Kernel.*. It must not reference any other KMTS.*
library, must not import WolverineFx (cross-library integration events flow only through
the Kernel seam), and must not use MediatR, Newtonsoft.Json, or Guid primary keys.
These rules are enforced at build time by tests/KMTS.WorkflowOrchestration.ArchitectureTests and fail CI
on violation.
Layers
| Layer | Responsibility |
|---|---|
KMTS.WorkflowOrchestration.Domain |
Entities (Ulid PKs), value objects, domain events, repository interfaces. No infrastructure. |
KMTS.WorkflowOrchestration.Application |
CQRS handlers, validators, marker triad. Source-generated ISender via KMTS.Kernel.Generator. |
KMTS.WorkflowOrchestration.Infrastructure |
EF Core configurations (schema workflow_orch), IWorkflowOrchestrationDbContext, DbUp scripts, DI + decorator chain. |
KMTS.WorkflowOrchestration.Presentation |
Minimal-API endpoints and the AddWorkflowOrchestration() composition entry point. |
How to build
dotnet restore
dotnet build -c Release
dotnet test tests/KMTS.WorkflowOrchestration.ArchitectureTests
All projects target net10.0 with all warnings treated as errors, AnalysisMode=All, and
EnforceCodeStyleInBuild. Persistence uses one schema per library (workflow_orch) with no
cross-schema joins; the host owns a single shared DbContext implementing IWorkflowOrchestrationDbContext.
| 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
- KMTS.Kernel.Infrastructure (>= 1.1.76)
- KMTS.WorkflowEngine.Infrastructure (>= 1.1.80)
- KMTS.WorkflowOrchestration.Application (>= 1.0.3)
- KMTS.WorkflowOrchestration.Domain (>= 1.0.3)
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
- Polly (>= 8.6.6)
- Scrutor (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KMTS.WorkflowOrchestration.Infrastructure:
| Package | Downloads |
|---|---|
|
KMTS.WorkflowOrchestration.Presentation
Presentation layer for KMTS.WorkflowOrchestration - ASP.NET Core endpoints and the AddWorkflowOrchestration() composition entry point. |
GitHub repositories
This package is not used by any popular GitHub repositories.