Nedo.AspNet.Domain 1.0.1

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

Nedo.AspNet.Domain

Reusable DDD building blocks for ASP.NET Core applications. Provides base entities, audit trail, soft-delete, repository/unit-of-work contracts, domain events, module discovery, and EF Core integration — ready to use in any Nedo project.

Project Structure

├── src/
│   └── Nedo.AspNet.Domain/          # Core library
├── test/
│   └── Nedo.AspNet.Domain.Tests/    # Unit tests
└── sample/
    └── Nedo.AspNet.Domain.Sample/   # Sample ASP.NET app

Features

Feature Description
BaseEntity Id (Guid) + CreatedAt + UpdatedAt
AuditableEntity Adds CreatedBy / UpdatedBy
ISoftDeletable IsDeleted, DeletedAt, DeletedBy — never physically deletes
IHasDomainEvents Collect events and dispatch after SaveChanges
BaseDbContext Auto audit trail + soft-delete interception + domain event dispatch
BaseRepository Generic EF Core CRUD implementation
IRepository / IReadRepository Repository contracts
IUnitOfWork Transaction coordination
ICurrentUser Current user abstraction
IModule Module auto-discovery and DI registration
MasterDataServiceBase Generic CRUD service with validation hooks

Getting Started

Installation

// In your service registration:
services.AddNedoDomain();

Build

dotnet build

Run Tests

dotnet test

License

MIT

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

Showing the top 2 NuGet packages that depend on Nedo.AspNet.Domain:

Package Downloads
Nedo.AspNet.Authorization

Authorization engine for ASP.NET Core: roles as a code-ring tree, organization scoping, per-page and per-field grants, row-level data filters with an expression language, delegations, and an admin API over the whole model. Table and column names are the host's to choose; migrations belong to the application, not to this package.

Nedo.AspNet.Notifications

Store-and-forward notification dispatch: persisted messages and per-recipient deliveries, a background dispatcher with retry and backoff, device-token registration, and template rendering. Bring your own transport by registering an INotificationSender (see Nedo.AspNet.Notifications.Firebase).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 1,130 5/2/2026
1.0.0 121 4/23/2026