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
<PackageReference Include="Nedo.AspNet.Domain" Version="1.0.1" />
<PackageVersion Include="Nedo.AspNet.Domain" Version="1.0.1" />
<PackageReference Include="Nedo.AspNet.Domain" />
paket add Nedo.AspNet.Domain --version 1.0.1
#r "nuget: Nedo.AspNet.Domain, 1.0.1"
#:package Nedo.AspNet.Domain@1.0.1
#addin nuget:?package=Nedo.AspNet.Domain&version=1.0.1
#tool nuget:?package=Nedo.AspNet.Domain&version=1.0.1
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 | 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
- Microsoft.EntityFrameworkCore (>= 9.0.1)
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.