LunaArch.Domain 1.0.0-beta2

This is a prerelease version of LunaArch.Domain.
dotnet add package LunaArch.Domain --version 1.0.0-beta2
                    
NuGet\Install-Package LunaArch.Domain -Version 1.0.0-beta2
                    
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="LunaArch.Domain" Version="1.0.0-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LunaArch.Domain" Version="1.0.0-beta2" />
                    
Directory.Packages.props
<PackageReference Include="LunaArch.Domain" />
                    
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 LunaArch.Domain --version 1.0.0-beta2
                    
#r "nuget: LunaArch.Domain, 1.0.0-beta2"
                    
#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 LunaArch.Domain@1.0.0-beta2
                    
#: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=LunaArch.Domain&version=1.0.0-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=LunaArch.Domain&version=1.0.0-beta2&prerelease
                    
Install as a Cake Tool

LunaArch

A modern, AOT-friendly DDD and Clean Architecture framework for .NET 10 and C# 14.

main develop License Publish to NuGet NuGet

Abstractions · Domain · Application · Infrastructure · AspNetCore · MinimalApi · FastEndpoints · MultiTenancy · TestKit

Overview

LunaArch is a set of reusable libraries that implement Domain-Driven Design (DDD) patterns and Clean Architecture principles. It provides a solid foundation for building enterprise applications with proper separation of concerns, testability, and maintainability.

Features

  • Clean Architecture - Strict layer separation with proper dependency direction
  • Domain-Driven Design - First-class support for Aggregates, Entities, Value Objects, Domain Events
  • CQRS Pattern - Command/Query separation with a lightweight, AOT-friendly dispatcher
  • Repository Pattern - Abstracted persistence with Specification pattern support
  • Pipeline Behaviors - Cross-cutting concerns like logging and transactions
  • AOT Compatible - Designed for Ahead-of-Time compilation with explicit registrations
  • Multi-tenancy - Optional add-on for SaaS applications
  • Test Kit - Fake implementations for easy unit testing

Getting Started

See Getting Started Guide for installation and setup instructions.

Documentation

Package Structure

Package Description
LunaArch.Abstractions Core interfaces and primitives (zero dependencies)
LunaArch.Domain Domain layer utilities (Specifications, Guards, Business Rules)
LunaArch.Application Application layer (Exceptions, Pipeline Behaviors)
LunaArch.Infrastructure Infrastructure implementations (EF Core, Dispatcher)
LunaArch.AspNetCore ASP.NET Core integration (Middleware, Extensions)
LunaArch.AspNetCore.MinimalApi Minimal API endpoint support
LunaArch.AspNetCore.FastEndpoints FastEndpoints integration
LunaArch.AspNetCore.MultiTenancy Multi-tenancy add-on
LunaArch.TestKit Testing utilities and fake implementations

Requirements

  • .NET 10.0
  • C# 14
  • Entity Framework Core 10.0 (for Infrastructure)

License

Apache License 2.0

Product 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LunaArch.Domain:

Package Downloads
LunaArch.Infrastructure

Infrastructure implementations including repositories, dispatcher, and EF Core integration for LunaArch

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-beta2 63 2/23/2026
1.0.0-beta1 53 2/22/2026