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
                    
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="Nomad.Common.SeedWork" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nomad.Common.SeedWork" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Nomad.Common.SeedWork" />
                    
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 Nomad.Common.SeedWork --version 1.0.0
                    
#r "nuget: Nomad.Common.SeedWork, 1.0.0"
                    
#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 Nomad.Common.SeedWork@1.0.0
                    
#: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=Nomad.Common.SeedWork&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Nomad.Common.SeedWork&version=1.0.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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