概要
Clean Architecture ソリューションテンプレート:ASP.NET Core 11 向けの実績ある Clean Architecture テンプレートです。
その他のプロジェクト計測したスター増加
- 24時間
- +2
- 7日間
- +12
- 15日間
- +12
- 1か月
- +23
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルClean Architecture
dotnet new templates for building ASP.NET Core applications with Clean Architecture, also known as hexagonal, ports-and-adapters, or onion architecture. The domain model sits at the center, and dependencies point inward toward it.
There are two templates:
- Full Clean Architecture (
clean-arch): a multi-project solution (Core, UseCases, Infrastructure, Web) with DDD patterns, CQRS via Mediator, and FastEndpoints. Best for larger, long-lived applications. - Minimal Clean Architecture (
min-clean): a single project organized by vertical slices, with layer boundaries enforced by NsDepCop. Best for MVPs and smaller applications.
A complete sample application lives in /sample.
Getting Started
Install the templates from NuGet:
dotnet new install Ardalis.CleanArchitecture.Template
dotnet new install Ardalis.MinimalClean.Template
Create a solution from either template:
# Full Clean Architecture
dotnet new clean-arch -o Your.ProjectName
# Minimal Clean Architecture
dotnet new min-clean -o Your.ProjectName
Documentation
Everything else is in the docs: cleanarchitecture.ardalis.com. That includes getting started, choosing between the templates, design decisions, dependency rules, and migration guides for upgrading from earlier versions.
Learn More
- Introducing Clean Architecture course from NimblePros (use code ARDALIS to save 20%)
- NimblePros offers Clean Architecture and DDD training and implementation help for teams
If this project helps you, please give it a star :star:. You can also support it through GitHub Sponsors.
関連プロジェクトを探す
読み込み中…