Skip to content
| Marketplace
Sign in
Visual Studio>Templates>MicrocrafterCleanArchitecture
MicrocrafterCleanArchitecture

MicrocrafterCleanArchitecture

Arash Naseri

|
44 installs
| (1) | Free
Clean Architecture starter by Arash Naseri. support classic service base. support cqrs pattern in application.
Download

Clean Architecture Template Created by: Arash Naseri

This template provides a modular foundation for Clean Architecture in .NET, including essential files such as .gitignore, Directory.Build.props, Dockerfile, and docker-compose.yml. These files support consistent build configurations, containerization, and version control best practices.

Note: Due to Visual Studio template limitations, some solution-level files (like Directory.Packages.props) are not automatically placed in the root. After generating your solution, please manually move these files from the template folder to the solution root.

This setup ensures a clean, extensible architecture ready for CI/CD, containerization, and team collaboration.

📦 Included Projects

Abstractions projects for each layer

  • Abstactions
  • Domain.Abstactions
  • EFCore.Abstactions
  • Application.Abstactions
  • Web.Api.Abstactions

Architecture projects

  • Domain
  • EFCore
  • MigrationTools (executable project for migration)
  • HttpApi (for external api call)
  • Application
  • Web.Api
  • Host (main project)

🛠️ Instructions

1- Generate the solution using this template. 2- Locate the following files from solution Items project into the root nearby .sln file.

  • Directory.Packages.prop
  • 'README.MD'
  • 'docker-compose.yml'

Move them to the root of your solution manually.

This setup ensures a clean, extensible architecture ready for CI/CD, containerization, and team collaboration.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft