LunaArch.AspNetCore
1.0.0-beta2
dotnet add package LunaArch.AspNetCore --version 1.0.0-beta2
NuGet\Install-Package LunaArch.AspNetCore -Version 1.0.0-beta2
<PackageReference Include="LunaArch.AspNetCore" Version="1.0.0-beta2" />
<PackageVersion Include="LunaArch.AspNetCore" Version="1.0.0-beta2" />
<PackageReference Include="LunaArch.AspNetCore" />
paket add LunaArch.AspNetCore --version 1.0.0-beta2
#r "nuget: LunaArch.AspNetCore, 1.0.0-beta2"
#:package LunaArch.AspNetCore@1.0.0-beta2
#addin nuget:?package=LunaArch.AspNetCore&version=1.0.0-beta2&prerelease
#tool nuget:?package=LunaArch.AspNetCore&version=1.0.0-beta2&prerelease
LunaArch
A modern, AOT-friendly DDD and Clean Architecture framework for .NET 10 and C# 14.
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
- Architecture Overview
- Layer Responsibilities
- Domain Primitives
- CQRS and Messaging
- Persistence
- Multi-tenancy
- Testing
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 | 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. |
-
net10.0
- LunaArch.Infrastructure (>= 1.0.0-beta2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on LunaArch.AspNetCore:
| Package | Downloads |
|---|---|
|
LunaArch.AspNetCore.MinimalApi
Minimal API integration for LunaArch providing endpoint abstractions and result mapping |
|
|
LunaArch.AspNetCore.FastEndpoints
FastEndpoints integration for LunaArch providing CQRS-aligned endpoint patterns |
|
|
LunaArch.AspNetCore.MultiTenancy
ASP.NET Core multi-tenancy add-on for LunaArch providing tenant resolution and isolation strategies |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-beta2 | 65 | 2/23/2026 |
| 1.0.0-beta1 | 54 | 2/22/2026 |