MinimalCleanArch 0.1.7
See the version list below for details.
dotnet add package MinimalCleanArch --version 0.1.7
NuGet\Install-Package MinimalCleanArch -Version 0.1.7
<PackageReference Include="MinimalCleanArch" Version="0.1.7" />
<PackageVersion Include="MinimalCleanArch" Version="0.1.7" />
<PackageReference Include="MinimalCleanArch" />
paket add MinimalCleanArch --version 0.1.7
#r "nuget: MinimalCleanArch, 0.1.7"
#:package MinimalCleanArch@0.1.7
#addin nuget:?package=MinimalCleanArch&version=0.1.7
#tool nuget:?package=MinimalCleanArch&version=0.1.7
MinimalCleanArch
A comprehensive library for implementing Clean Architecture with Minimal APIs on .NET 9. It provides domain foundations, repositories, unit of work, specifications, security/encryption, and minimal-API extensions.
Core Features
- Clean Architecture foundations (entities, repositories, unit of work, specifications, result pattern)
- Minimal API extensions (validation wiring, standardized error handling, OpenAPI helpers)
- Security & encryption (Data Protection/AES column encryption)
- Soft delete & auditing (IsDeleted + auditing timestamps/users)
- EF Core integration (repositories, unit of work, auditing/soft-delete filters)
Version & Templates
- Current package version:
0.1.7(targets .NET 9). - Templates:
dotnet new install MinimalCleanArch.Templates(or local nupkg), thendotnet new mca -n MyApp(multi-project) or--single-project. - Launch defaults: Swagger, randomized ports 5000–8000; adjust
Properties/launchSettings.jsonif needed. - Using local nupkgs? Add a
nuget.configwith your local feed (e.g.,artifacts/nuget) before restoring.
Packages
| Package | Description |
|---|---|
MinimalCleanArch |
Core interfaces and base classes (Entities, Repositories, Specifications, Result pattern). |
MinimalCleanArch.DataAccess |
EF Core implementation (DbContextBase, Repository, UnitOfWork, SpecificationEvaluator). |
MinimalCleanArch.Extensions |
Minimal API enhancements (validation filters, error handling, standard responses). |
MinimalCleanArch.Validation |
FluentValidation integration components (often used via Extensions). |
MinimalCleanArch.Security |
Data encryption services (AES, Data Protection) and EF Core integration. |
MinimalCleanArch.Messaging |
Domain events/messaging helpers and Wolverine integration. |
MinimalCleanArch.Audit |
Audit logging components. |
MinimalCleanArch.Templates |
dotnet new mca templates (single- or multi-project, clean architecture). |
Quick Start (short)
- Scaffold with the template:
dotnet new install MinimalCleanArch.Templates dotnet new mca -n MyApp # multi-project dotnet new mca -n MyApp --single-project - Or install packages directly:
dotnet add package MinimalCleanArch dotnet add package MinimalCleanArch.DataAccess dotnet add package MinimalCleanArch.Extensions dotnet add package MinimalCleanArch.Security dotnet add package MinimalCleanArch.Validation dotnet add package MinimalCleanArch.Messaging dotnet add package MinimalCleanArch.Audit - Then follow the per-package guides (links above) for setup specifics.
Documentation map
- Core:
src/MinimalCleanArch/README.md - DataAccess:
src/MinimalCleanArch.DataAccess/README.md - Extensions:
src/MinimalCleanArch.Extensions/README.md - Validation:
src/MinimalCleanArch.Validation/README.md - Security:
src/MinimalCleanArch.Security/README.md - Messaging:
src/MinimalCleanArch.Messaging/README.md - Audit:
src/MinimalCleanArch.Audit/README.md - Templates:
templates/README.md - Sample app:
samples/MinimalCleanArch.Sample/README.md
Sample Application
Contributing
Contributions are welcome! Please read CONTRIBUTING.md.
License
MIT License. See LICENSE.
| 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
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on MinimalCleanArch:
| Package | Downloads |
|---|---|
|
MinimalCleanArch.Extensions
Extensions for Minimal API endpoints, including validation filters, error handling, logging, health checks, and standard response definitions. |
|
|
MinimalCleanArch.DataAccess
Entity Framework Core implementation for MinimalCleanArch |
|
|
MinimalCleanArch.Validation
Validation components for MinimalCleanArch using FluentValidation, including extensions for service registration. |
|
|
MinimalCleanArch.Audit
Optional audit logging package for MinimalCleanArch. Provides audit log tables, change history tracking, and audit query services. Opt-in feature - only adds overhead when explicitly enabled. |
|
|
MinimalCleanArch.Messaging
Messaging and event-driven architecture for MinimalCleanArch using Wolverine. Includes domain events, transactional outbox, and background job processing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.9-preview | 63 | 12/21/2025 |
| 0.1.8-preview | 276 | 12/15/2025 |
| 0.1.7 | 206 | 12/14/2025 |
| 0.1.7-preview | 459 | 12/11/2025 |
| 0.1.6 | 478 | 12/9/2025 |
| 0.1.6-preview | 572 | 12/9/2025 |
| 0.1.5 | 242 | 12/6/2025 |
| 0.1.4 | 218 | 5/26/2025 |
| 0.1.3 | 211 | 5/25/2025 |
| 0.1.2 | 203 | 5/25/2025 |
| 0.1.1 | 224 | 5/25/2025 |
| 0.0.1 | 178 | 5/25/2025 |