KMTS.FormBuilder.Presentation
1.0.2
dotnet add package KMTS.FormBuilder.Presentation --version 1.0.2
NuGet\Install-Package KMTS.FormBuilder.Presentation -Version 1.0.2
<PackageReference Include="KMTS.FormBuilder.Presentation" Version="1.0.2" />
<PackageVersion Include="KMTS.FormBuilder.Presentation" Version="1.0.2" />
<PackageReference Include="KMTS.FormBuilder.Presentation" />
paket add KMTS.FormBuilder.Presentation --version 1.0.2
#r "nuget: KMTS.FormBuilder.Presentation, 1.0.2"
#:package KMTS.FormBuilder.Presentation@1.0.2
#addin nuget:?package=KMTS.FormBuilder.Presentation&version=1.0.2
#tool nuget:?package=KMTS.FormBuilder.Presentation&version=1.0.2
KMTS.FormBuilder
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.FormBuilder 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.AddFormBuilder().
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.FormBuilder.ArchitectureTests and fail CI
on violation.
Layers
| Layer | Responsibility |
|---|---|
KMTS.FormBuilder.Domain |
Entities (Ulid PKs), value objects, domain events, repository interfaces. No infrastructure. |
KMTS.FormBuilder.Application |
CQRS handlers, validators, marker triad. Source-generated ISender via KMTS.Kernel.Generator. |
KMTS.FormBuilder.Infrastructure |
EF Core configurations (schema form_builder), IFormBuilderDbContext, DbUp scripts, DI + decorator chain. |
KMTS.FormBuilder.Presentation |
Minimal-API endpoints and the AddFormBuilder() composition entry point. |
How to build
dotnet restore
dotnet build -c Release
dotnet test tests/KMTS.FormBuilder.ArchitectureTests
All projects target net10.0 with all warnings treated as errors, AnalysisMode=All, and
EnforceCodeStyleInBuild. Persistence uses one schema per library (form_builder) with no
cross-schema joins; the host owns a single shared DbContext implementing IFormBuilderDbContext.
| 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.FormBuilder.Application (>= 1.0.2)
- KMTS.FormBuilder.Infrastructure (>= 1.0.2)
- KMTS.Kernel.Presentation (>= 1.1.76)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.