Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

clean-architecture-demo

> 编程语言
Open source

A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles"

1.2K stars0 likes1 views
WebsiteGitHub

About

A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles"

Clean Architecture Demo

A sample application for Clean Architecture: Patterns, Practices, and Principles using Microsoft .NET 9.0.

This sample application is intended to be a learning tool for clean architecture practices. It incorporates several of these practices in a way that is simple and easy to understand.

If you'd like to learn more about this style of software architecture, please check out my online course Clean Architecture: Patterns, Practices, and Principles.

Variations

There are three variations of this project to demonstrate various practices:

  • main - contains the simplest implementation used to demonstrate the practices taught in the course at the expense of a bit of coupling with the Entity Framework abstractions

  • dbset-adaptor - uses a database adapter to completely decouple the application from the persistence layer -- a cleaner but slightly more complex approach

  • repo-and-uow - uses the repository and unit of work patterns to completely decouple the application from the persistence layer -- an even cleaner but also more complex approach

Technologies

This demo application uses the following technologies:

  • .NET Core 9.0
  • C# .NET 13.0
  • ASP.NET Core MVC 9.0
  • EF Core 9.0
  • Visual Studio 2022
  • SQL Server 2022
  • Scrutor 6.0
  • NUnit 4.3
  • Moq 4.20
  • SpecFlow 3.9

Other Versions

For other versions of this sample application, please see the following:

  • .NET 8.0
  • .NET 6.0
  • .NET 4.8
  • .NET 4.5

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言