MiCake 10.0.0
Prefix Reserveddotnet add package MiCake --version 10.0.0
NuGet\Install-Package MiCake -Version 10.0.0
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="MiCake" Version="10.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MiCake" Version="10.0.0" />
<PackageReference Include="MiCake" />
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 MiCake --version 10.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MiCake, 10.0.0"
#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 MiCake@10.0.0
#: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=MiCake&version=10.0.0
#tool nuget:?package=MiCake&version=10.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MiCake
A lightweight Domain-Driven Design (DDD) toolkit for .NET.
Overview
MiCake is the main DDD package providing all essential components:
- Entity & Aggregate Root - DDD tactical pattern implementations
- Value Objects - Immutable value type support
- Repository Pattern - Data access abstraction
- Domain Events - Event-driven domain modeling
- Unit of Work - Transaction management
- Audit Support - Automatic timestamp tracking
Installation
dotnet add package MiCake
Quick Start
// Define your aggregate root
public class Order : AggregateRoot<Guid>
{
public string CustomerName { get; private set; }
public decimal TotalAmount { get; private set; }
public void UpdateTotal(decimal amount)
{
TotalAmount = amount;
AddDomainEvent(new OrderUpdatedEvent(Id));
}
}
Key Components
| Component | Description |
|---|---|
Entity<TKey> |
Base class for domain entities |
AggregateRoot<TKey> |
Base class for aggregate roots |
ValueObject |
Base class for value objects |
IRepository<T> |
Repository interface for data access |
IDomainEvent |
Interface for domain events |
Documentation
License
MIT License - see LICENSE
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- MiCake.Core (>= 10.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MiCake:
| Package | Downloads |
|---|---|
|
MiCake.EntityFrameworkCore
EF Core integration utilities for MiCake. |
|
|
MiCake.AspNetCore
ASP.NET Core integration extensions for MiCake. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 105 | 5/11/2026 |
| 10.0.0-preview.11 | 110 | 3/16/2026 |
| 10.0.0-preview.10 | 75 | 2/23/2026 |
| 10.0.0-preview.9 | 96 | 2/9/2026 |
| 10.0.0-preview.8 | 77 | 1/21/2026 |
| 10.0.0-preview.7 | 70 | 1/20/2026 |
| 10.0.0-preview.5 | 81 | 1/15/2026 |
| 1.0.0-CI-20251227-143701 | 141 | 12/27/2025 |
| 1.0.0-CI-20251227-131439 | 101 | 12/27/2025 |
| 1.0.0-CI-20251203-144406 | 689 | 12/3/2025 |
| 1.0.0-CI-20251202-144550 | 687 | 12/2/2025 |
| 1.0.0-CI-20251128-083448 | 163 | 11/28/2025 |
| 1.0.0-CI-20251123-045010 | 162 | 11/23/2025 |
| 0.9.0-CI-20251107-105430 | 177 | 11/7/2025 |
| 0.9.0-CI-20251030-064729 | 217 | 10/30/2025 |
| 0.9.0-CI-20251019-130615 | 229 | 10/19/2025 |
| 0.9.0-CI-20251009-024518 | 213 | 10/9/2025 |
| 0.9.0-CI-20251008-121343 | 196 | 10/8/2025 |
| 0.9.0-CI-20250927-142804 | 158 | 9/27/2025 |
| 0.9.0-CI-20250927-134346 | 137 | 9/27/2025 |
Loading failed