MinimalCleanArch.Extensions 0.1.7

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MinimalCleanArch.Extensions --version 0.1.7
                    
NuGet\Install-Package MinimalCleanArch.Extensions -Version 0.1.7
                    
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="MinimalCleanArch.Extensions" Version="0.1.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MinimalCleanArch.Extensions" Version="0.1.7" />
                    
Directory.Packages.props
<PackageReference Include="MinimalCleanArch.Extensions" />
                    
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 MinimalCleanArch.Extensions --version 0.1.7
                    
#r "nuget: MinimalCleanArch.Extensions, 0.1.7"
                    
#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 MinimalCleanArch.Extensions@0.1.7
                    
#: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=MinimalCleanArch.Extensions&version=0.1.7
                    
Install as a Cake Addin
#tool nuget:?package=MinimalCleanArch.Extensions&version=0.1.7
                    
Install as a Cake Tool

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), then dotnet new mca -n MyApp (multi-project) or --single-project.
  • Launch defaults: Swagger, randomized ports 5000–8000; adjust Properties/launchSettings.json if needed.
  • Using local nupkgs? Add a nuget.config with 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

Sample Application

Contributing

Contributions are welcome! Please read CONTRIBUTING.md.

License

MIT License. See LICENSE.

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 MinimalCleanArch.Extensions:

Package Downloads
MinimalCleanArch.Validation

Validation components for MinimalCleanArch using FluentValidation, including extensions for service registration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.8-preview 186 12/15/2025
0.1.7 153 12/14/2025
0.1.7-preview 409 12/11/2025
0.1.6 428 12/9/2025
0.1.6-preview 483 12/9/2025
0.1.5 219 12/6/2025
0.1.4 205 5/26/2025
0.1.3 199 5/25/2025
0.1.2 194 5/25/2025
0.1.1 199 5/25/2025
0.0.1 148 5/25/2025