MiCake 10.0.0-preview.10
Prefix Reserved
This is a prerelease version of MiCake.
dotnet add package MiCake --version 10.0.0-preview.10
NuGet\Install-Package MiCake -Version 10.0.0-preview.10
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-preview.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MiCake" Version="10.0.0-preview.10" />
<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-preview.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MiCake, 10.0.0-preview.10"
#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-preview.10
#: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-preview.10&prerelease
#tool nuget:?package=MiCake&version=10.0.0-preview.10&prerelease
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-preview.10)
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-preview.10 | 52 | 2/23/2026 |
| 10.0.0-preview.9 | 80 | 2/9/2026 |
| 10.0.0-preview.8 | 61 | 1/21/2026 |
| 10.0.0-preview.7 | 50 | 1/20/2026 |
| 10.0.0-preview.5 | 65 | 1/15/2026 |
| 1.0.0-CI-20251227-143701 | 95 | 12/27/2025 |
| 1.0.0-CI-20251227-131439 | 55 | 12/27/2025 |
| 1.0.0-CI-20251203-144406 | 641 | 12/3/2025 |
| 1.0.0-CI-20251202-144550 | 641 | 12/2/2025 |
| 1.0.0-CI-20251128-083448 | 117 | 11/28/2025 |
| 1.0.0-CI-20251123-045010 | 113 | 11/23/2025 |
| 0.9.0-CI-20251107-105430 | 131 | 11/7/2025 |
| 0.9.0-CI-20251030-064729 | 172 | 10/30/2025 |
| 0.9.0-CI-20251019-130615 | 185 | 10/19/2025 |
| 0.9.0-CI-20251009-024518 | 168 | 10/9/2025 |
| 0.9.0-CI-20251008-121343 | 152 | 10/8/2025 |
| 0.9.0-CI-20250927-142804 | 112 | 9/27/2025 |
| 0.9.0-CI-20250927-134346 | 91 | 9/27/2025 |
| 0.9.0-CI-20250926-020921 | 158 | 9/26/2025 |
| 0.9.0-CI-20250924-065845 | 156 | 9/24/2025 |
Loading failed