MinimalCleanArch.Templates
0.1.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install MinimalCleanArch.Templates::0.1.7
This package contains a .NET Template Package you can call from the shell/command line.
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.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.18-preview | 0 | 3/12/2026 |
| 0.1.17 | 40 | 3/12/2026 |
| 0.1.17-preview | 48 | 3/8/2026 |
| 0.1.16-preview | 46 | 3/7/2026 |
| 0.1.15-preview | 83 | 3/3/2026 |
| 0.1.14 | 86 | 3/2/2026 |
| 0.1.14-preview | 84 | 3/1/2026 |
| 0.1.13-preview | 86 | 2/28/2026 |
| 0.1.12-preview | 90 | 2/22/2026 |
| 0.1.11-preview | 105 | 12/27/2025 |
| 0.1.10-preview | 91 | 12/27/2025 |
| 0.1.9-preview | 122 | 12/21/2025 |
| 0.1.8-preview | 225 | 12/15/2025 |
| 0.1.7 | 163 | 12/14/2025 |
| 0.1.7-preview | 415 | 12/11/2025 |
| 0.1.6 | 440 | 12/9/2025 |
| 0.1.6-preview | 432 | 12/9/2025 |