KMTS.FormBuilder.Domain 1.0.2

dotnet add package KMTS.FormBuilder.Domain --version 1.0.2
                    
NuGet\Install-Package KMTS.FormBuilder.Domain -Version 1.0.2
                    
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="KMTS.FormBuilder.Domain" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KMTS.FormBuilder.Domain" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="KMTS.FormBuilder.Domain" />
                    
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 KMTS.FormBuilder.Domain --version 1.0.2
                    
#r "nuget: KMTS.FormBuilder.Domain, 1.0.2"
                    
#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 KMTS.FormBuilder.Domain@1.0.2
                    
#: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=KMTS.FormBuilder.Domain&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=KMTS.FormBuilder.Domain&version=1.0.2
                    
Install as a Cake Tool

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 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 (2)

Showing the top 2 NuGet packages that depend on KMTS.FormBuilder.Domain:

Package Downloads
KMTS.FormBuilder.Application

Application layer for KMTS.FormBuilder - commands, queries, decorators, and service markers.

KMTS.FormBuilder.Infrastructure

Infrastructure layer for KMTS.FormBuilder - EF Core configurations, DbContext contract, and DI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 47 6/5/2026
1.0.1 62 6/3/2026