github.com/jasontaylordev/CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core

Open this visualization on its own page →

Contributors

38

Lines of Code

1,284

From

2019-10-07

To

2020-12-15

About jasontaylordev/CleanArchitecture

This is a .NET template for building enterprise applications following clean architecture principles. It uses ASP.NET Core 10 and Entity Framework Core as the backend foundation, with support for multiple frontend options including Angular, React, or a Web API-only configuration. Developers can customize their setup by choosing between SQLite, PostgreSQL, or SQL Server as the database provider, with Docker support for containerized databases.

The template leverages modern development tools and patterns including MediatR for command and query handling, AutoMapper for object mapping, FluentValidation for input validation, and Aspire for orchestration and monitoring. Testing is built in with NUnit, Moq, and Shouldly for unit and integration testing. The template also includes Scalar for API documentation.

Installation is handled through the .NET CLI template system, allowing developers to quickly scaffold a new solution with their preferred client framework and database. The project maintains multiple branches supporting different .NET versions from 5.0 through 10.0, ensuring developers can work with their target framework. Comprehensive documentation is available on the project's dedicated website, and the codebase includes architecture decision records documenting key design choices.

Share this video