[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71567":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},71567,"CleanArchitecture","ardalis\u002FCleanArchitecture","ardalis","Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10","",null,"C#",18268,3067,417,24,0,9,21,99,27,108.4,"MIT License",false,"main",true,[27,28,29,30,31,32,33],"architecture","clean-architecture","csharp","ddd","domain-driven-design","dotnet","hacktoberfest","2026-06-12 04:01:01","[![.NET Core](https:\u002F\u002Fgithub.com\u002Fardalis\u002FCleanArchitecture\u002Fworkflows\u002F.NET%20Core\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fardalis\u002FCleanArchitecture\u002Factions)\n[![publish Ardalis.CleanArchitecture Template to nuget](https:\u002F\u002Fgithub.com\u002Fardalis\u002FCleanArchitecture\u002Factions\u002Fworkflows\u002Fpublish.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fardalis\u002FCleanArchitecture\u002Factions\u002Fworkflows\u002Fpublish.yml)\n[![Ardalis.CleanArchitecture.Template on NuGet](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fv\u002FArdalis.CleanArchitecture.Template?label=Ardalis.CleanArchitecture.Template)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FArdalis.CleanArchitecture.Template\u002F)\n\n\u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fintent\u002Ffollow?screen_name=ardalis\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fardalis.svg?label=Follow%20@ardalis\" alt=\"Follow @ardalis\" \u002F>\n\u003C\u002Fa> &nbsp; \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fintent\u002Ffollow?screen_name=nimblepros\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fnimblepros.svg?label=Follow%20@nimblepros\" alt=\"Follow @nimblepros\" \u002F>\n\u003C\u002Fa>\n\n\u003Cp>\n\n![Alt](https:\u002F\u002Frepobeats.axiom.co\u002Fapi\u002Fembed\u002Fbe5094dd306ba53b8f4fc0b43c9de5d8ca23a608.svg \"Repobeats analytics image\")\n\n\u003C\u002Fp>\n\n# Clean Architecture\n\nA starting point for Clean Architecture with ASP.NET Core. [Clean Architecture](https:\u002F\u002F8thlight.com\u002Fblog\u002Funcle-bob\u002F2012\u002F08\u002F13\u002Fthe-clean-architecture.html) is just the latest in a series of names for the same loosely-coupled, dependency-inverted architecture. You will also find it named [hexagonal](https:\u002F\u002Falistair.cockburn.us\u002Fhexagonal-architecture), [ports-and-adapters](http:\u002F\u002Fwww.dossier-andreas.net\u002Fsoftware_architecture\u002Fports_and_adapters.html), or [onion architecture](http:\u002F\u002Fjeffreypalermo.com\u002Fblog\u002Fthe-onion-architecture-part-1\u002F).\n\nLearn more about Clean Architecture and this template in [NimblePros' Introducing Clean Architecture course](https:\u002F\u002Facademy.nimblepros.com\u002Fp\u002Flearn-clean-architecture). Use code ARDALIS to save 20%.\n\nThis architecture is used in the [DDD Fundamentals course](https:\u002F\u002Fwww.pluralsight.com\u002Fcourses\u002Ffundamentals-domain-driven-design) by [Steve Smith](https:\u002F\u002Fardalis.com) and [Julie Lerman](https:\u002F\u002Fthedatafarm.com\u002F).\n\n:school: Contact Steve's company, [NimblePros](https:\u002F\u002Fnimblepros.com\u002F), for Clean Architecture or DDD training and\u002For implementation assistance for your team.\n\n## Take the Course!\n\n[Learn about how to implement Clean Architecture](https:\u002F\u002Facademy.nimblepros.com\u002Fp\u002Fintro-to-clean-architecture) from [NimblePros](https:\u002F\u002Fnimblepros.com) trainers [Sarah \"sadukie\" Dutkiewicz](https:\u002F\u002Fblog.nimblepros.com\u002Fauthor\u002Fsadukie\u002F) and [Steve \"ardalis\" Smith](https:\u002F\u002Fblog.nimblepros.com\u002Fauthor\u002Fardalis\u002F).\n\n## Table Of Contents\n\n- [Clean Architecture](#clean-architecture)\n  - [Take the Course!](#take-the-course)\n  - [Table Of Contents](#table-of-contents)\n  - [Give a Star! :star:](#give-a-star-star)\n  - [Sponsors](#sponsors)\n  - [Troubleshooting Chrome Errors](#troubleshooting-chrome-errors)\n  - [Versions](#versions)\n  - [Learn More](#learn-more)\n- [Getting Started](#getting-started)\n  - [Template Installation](#template-installation)\n  - [Using the dotnet CLI template](#using-the-dotnet-cli-template)\n    - [Full Clean Architecture (`clean-arch`)](#full-clean-architecture-clean-arch)\n    - [Minimal Clean Architecture (`min-clean`)](#minimal-clean-architecture-min-clean)\n  - [Template Comparison](#template-comparison)\n    - [Which Template Should I Use?](#which-template-should-i-use)\n  - [What about Controllers and Razor Pages?](#what-about-controllers-and-razor-pages)\n    - [Add Ardalis.ApiEndpoints](#add-ardalisapiendpoints)\n    - [Add Controllers](#add-controllers)\n    - [Add Razor Pages](#add-razor-pages)\n  - [Using the GitHub Repository](#using-the-github-repository)\n  - [Running Migrations](#running-migrations)\n- [Goals](#goals)\n  - [History and Shameless Plug Section](#history-and-shameless-plug-section)\n- [Design Decisions and Dependencies](#design-decisions-and-dependencies)\n  - [Where To Validate](#where-to-validate)\n  - [The Core Project](#the-core-project)\n  - [The Use Cases Project](#the-use-cases-project)\n  - [The Infrastructure Project](#the-infrastructure-project)\n  - [The Web Project](#the-web-project)\n  - [The SharedKernel Package](#the-sharedkernel-package)\n  - [The Test Projects](#the-test-projects)\n- [Patterns Used](#patterns-used)\n  - [Domain Events](#domain-events)\n  - [Related Projects](#related-projects)\n  - [Presentations and Videos on Clean Architecture](#presentations-and-videos-on-clean-architecture)\n\n## Give a Star! :star:\n\nIf you like or are using this project to learn or start your solution, please give it a star. Thanks!\n\nOr if you're feeling really generous, we now support GitHub sponsorships - see the button above.\n\n## Sponsors\n\nI'm please to announce that [Amazon AWS's FOSS fund](https:\u002F\u002Fgithub.com\u002Faws\u002Fdotnet-foss) has chosen to award a 12-month sponsorship to this project. Thank you, and thanks to all of my other past and current sponsors!\n\n## Troubleshooting Chrome Errors\n\nBy default the site uses HTTPS and expects you to have a self-signed developer certificate for localhost use. If you get an error with Chrome [see this answer](https:\u002F\u002Fstackoverflow.com\u002Fa\u002F31900210\u002F13729) for mitigation instructions.\n\n## Versions\n\nThe main branch is now using **.NET 9**. This corresponds with NuGet package version 10.x. Previous versions are available - see our [Releases](https:\u002F\u002Fgithub.com\u002Fardalis\u002FCleanArchitecture\u002Freleases).\n\n## Learn More\n\n- [Live Stream Recordings Working on Clean Architecture](https:\u002F\u002Fwww.youtube.com\u002Fc\u002FArdalis\u002Fsearch?query=clean%20architecture)\n- [DotNetRocks Podcast Discussion with Steve \"ardalis\" Smith](https:\u002F\u002Fplayer.fm\u002Fseries\u002Fnet-rocks\u002Fclean-architecture-with-steve-smith)\n- [Fritz and Friends Streaming Discussion with Steve \"ardalis\" Smith](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=k8cZUW4MS3I)\n\n# Documentation\n\nThe official documentation for this template, including Getting Started steps, Migration Guides, and Architectural Decisions, can be found at [Ardalis Clean Architecture Docs](https:\u002F\u002Fardalis.github.io\u002FCleanArchitecture).\n\nIf you are upgrading from an older version, please be sure to review our [Migration Guides](https:\u002F\u002Fardalis.github.io\u002FCleanArchitecture\u002Fmigration-guides\u002F) on the new documentation site!\n","ardalis\u002FCleanArchitecture 是一个基于 ASP.NET Core 的干净架构解决方案模板。该项目提供了一个经过验证的架构模板，帮助开发者构建高度解耦、易于测试和维护的应用程序。它遵循领域驱动设计（DDD）原则，通过清晰地分离关注点来实现业务逻辑与基础设施代码的隔离。该模板适用于需要长期维护且对可扩展性有较高要求的企业级应用开发场景。使用 C# 语言编写，并采用 MIT 许可证开放源代码。",2,"2026-06-11 03:38:34","high_star"]