DDD Clean Architecture Template

(GitHub Repo: https://github.com/alulema/DDD-CleanArchitectureTemplate)

These last 10 months I’ve been delighted working with ASP.NET Core, considering the improvements made by Microsoft to this framework, and the option to work on my Macbook as well 🙂

However, an additional job to be done has been migrating the inherited skills and code snippets to its .NET Core version. This is the case with organizing the architecture to be adapted to ASP.NET Core, and other related Design Patterns. It’s not a big deal at the end, but it always take some time figuring out how to organize the code and adapt patterns.

Today I want to share with you a “final” template  and don’t have to reinvent the wheel each time. The features of this project are the following:

  • ASP.NET Core WebAPI
  • SOLID Clean Architecture
  • Domain-Driven Design
  • CQRS Premium Architecture
  • MediatR Implementation
  • Dependency Injection
  • Logging Infrastructure
  • EntityFramework In-Memory Database

I will be using this template in future projects, and I hope it could be useful for you as well. See you next time!