Nomad.Common.SeedWork
1.0.0
dotnet add package Nomad.Common.SeedWork --version 1.0.0
NuGet\Install-Package Nomad.Common.SeedWork -Version 1.0.0
<PackageReference Include="Nomad.Common.SeedWork" Version="1.0.0" />
<PackageVersion Include="Nomad.Common.SeedWork" Version="1.0.0" />
<PackageReference Include="Nomad.Common.SeedWork" />
paket add Nomad.Common.SeedWork --version 1.0.0
#r "nuget: Nomad.Common.SeedWork, 1.0.0"
#:package Nomad.Common.SeedWork@1.0.0
#addin nuget:?package=Nomad.Common.SeedWork&version=1.0.0
#tool nuget:?package=Nomad.Common.SeedWork&version=1.0.0
Nomad.Common.SeedWork
A clean and extensible seedwork foundation for building Domain-Driven Design (DDD) applications in .NET.
This package provides essential building blocks for defining expressive, rich domain models using aggregates, entities, value objects, and specifications. It is built for maintainability, testability, and separation of concerns between domain logic and infrastructure.
✨ Key Features
- Aggregate and entity base types with identity handling
- Lightweight value object support via interfaces and records
- Domain event model: event types, dispatchers, handlers
- Specification pattern with support for filtering, includes, sorting, and paging
- Generic repository and unit of work abstractions
- Strongly-typed ID support (
OrderId
,CustomerId
, etc.) - Designed to be infrastructure-agnostic and ORM-neutral
🧼 Design Philosophy
This seedwork follows modern DDD and clean architecture practices:
- Domain logic is central, independent from infrastructure
- Persistence and transport concerns stay outside the model
- Domain model expresses invariants and business rules clearly
- Specifications and repositories abstract away query logic and storage
- Events capture meaningful state changes across aggregates
🧪 Testing Support
- Specifications expose expressions and predicates for LINQ and in-memory testing
- Entities expose
DomainEvents
for behavior-driven assertions - Strongly-typed IDs can be tested like primitives
🚀 Integration Ready
This seedwork is fully compatible with:
- EF Core (via ValueConverters and SpecificationEvaluator)
- CQRS and mediator pipelines
- In-memory or fake implementations for tests
- Custom ORM or document stores
📄 License
MIT License · © Nomad
All feedback and contributions are welcome.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nomad.Common.SeedWork:
Package | Downloads |
---|---|
Nomad.Common.EntityFrameworkCore
Extensions and repositories for Entity Framework Core in Nomad projects |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 214 | 4/14/2025 |