![]() |
VOOZH | about |
dotnet add package MinimalCleanArch --version 0.1.19
NuGet\Install-Package MinimalCleanArch -Version 0.1.19
<PackageReference Include="MinimalCleanArch" Version="0.1.19" />
<PackageVersion Include="MinimalCleanArch" Version="0.1.19" />Directory.Packages.props
<PackageReference Include="MinimalCleanArch" />Project file
paket add MinimalCleanArch --version 0.1.19
#r "nuget: MinimalCleanArch, 0.1.19"
#:package MinimalCleanArch@0.1.19
#addin nuget:?package=MinimalCleanArch&version=0.1.19Install as a Cake Addin
#tool nuget:?package=MinimalCleanArch&version=0.1.19Install as a Cake Tool
Core primitives for Clean Architecture: entities, repositories, specifications, result pattern, and common types.
IEntity<TKey>, BaseEntity<TKey>, BaseAuditableEntity, BaseSoftDeleteEntity, IAuditableEntity, ISoftDelete.Result/Result<T>, Error (status code + metadata support, with Match/Bind helpers).IRepository<TEntity, TKey>, IUnitOfWork.ISpecification<T>, BaseSpecification<T>, composable And/Or/Not, InMemorySpecificationEvaluator, and query flags (AsNoTracking, AsSplitQuery, IgnoreQueryFilters, IsCountOnly).dotnet add package MinimalCleanArch --version 0.1.19-preview
Use BaseAuditableEntity/BaseSoftDeleteEntity for entities that need auditing and soft delete. Use Result/Result<T> for typed operation results.
// Build a filter
public sealed class TodoFilterSpec : BaseSpecification<Todo>
{
public TodoFilterSpec(string? search, bool? isCompleted, int? priority)
{
if (!string.IsNullOrWhiteSpace(search))
{
AddCriteria(t => t.Title.Contains(search) || t.Description.Contains(search));
}
if (isCompleted is not null)
{
AddCriteria(t => t.IsCompleted == isCompleted);
}
if (priority is not null)
{
AddCriteria(t => t.Priority == priority);
}
ApplyOrderByDescending(t => t.Priority);
}
}
// Compose at call-site
var highPriority = new TodoFilterSpec(null, false, 5);
var dueToday = new DueTodaySpec();
var todayHighPriority = highPriority.And(dueToday);
public sealed class DueTodaySpec : BaseSpecification<Todo>
{
public DueTodaySpec() : base(t => t.DueDate == DateOnly.FromDateTime(DateTime.UtcNow))
{
}
}
Guidance:
InMemorySpecificationEvaluator only for tests or in-memory execution pathsWhen consuming locally built nupkgs, add a nuget.config pointing to your local feed (e.g., artifacts/nuget) before restoring.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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.Messaging
Messaging and event-driven architecture for MinimalCleanArch using Wolverine. Includes domain events, transactional outbox, and background job processing. |
|
|
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. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.19 | 174 | 3/18/2026 |
| 0.1.19-preview | 170 | 3/18/2026 |
| 0.1.18 | 185 | 3/13/2026 |
| 0.1.18-preview | 172 | 3/12/2026 |
| 0.1.17 | 184 | 3/12/2026 |
| 0.1.17-preview | 163 | 3/8/2026 |
| 0.1.16-preview | 162 | 3/7/2026 |
| 0.1.15-preview | 163 | 3/3/2026 |
| 0.1.14 | 180 | 3/2/2026 |
| 0.1.14-preview | 170 | 3/1/2026 |
| 0.1.13-preview | 162 | 2/28/2026 |
| 0.1.12-preview | 183 | 2/22/2026 |
| 0.1.11-preview | 181 | 12/27/2025 |
| 0.1.10-preview | 173 | 12/27/2025 |
| 0.1.9-preview | 206 | 12/21/2025 |
| 0.1.8-preview | 310 | 12/15/2025 |
| 0.1.7 | 255 | 12/14/2025 |
| 0.1.7-preview | 496 | 12/11/2025 |
| 0.1.6 | 512 | 12/9/2025 |
| 0.1.6-preview | 608 | 12/9/2025 |