Skip to content
프로젝트

ardalis/CleanArchitecture

GitHub에서 보기

소개

Clean Architecture 솔루션 템플릿: ASP.NET Core 11을 위한 검증된 Clean Architecture 템플릿입니다.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+2
in 7 days
+12
in 15 days
+12
in 1 month
+23

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Clean Architecture

Build & Test (Clean Architecture) Build & Test (MinimalClean) CodeQL Docs

Ardalis.CleanArchitecture.Template on NuGet Ardalis.CleanArchitecture.Template downloads Ardalis.MinimalClean.Template on NuGet Ardalis.MinimalClean.Template downloads

.NET 11 License: MIT GitHub stars Follow @ardalis Follow @nimblepros

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

If this project helps you, please give it a star :star:. You can also support it through GitHub Sponsors.

관련 프로젝트 살펴보기

불러오는 중…