Skip to content

yogyogi/Onion-Architecture-in-ASP.NET-Core-with-CQRS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Onion Architecture in ASP.NET Core with CQRS

Here I implement Onion Architecture in ASP.NET Core with CQRS. It was created by Computer Engineer Jeffrey Palermo for creating app which are highly maintainable and loosely coupled. This architecture somewhat resembles the layers which can be seen on cutting an onion vegetable. You can separate the layers of onion very easily and eat them in your salads. In the same way the layers of Onion Architecture are separatable as they are loosely coupled, and this gives a highly testable architecture.

This is .NET 8.0 version

Read the entire article here - https://www.hosting.work/onion-architecture-aspnet-core-cqrs/

Tutorial Contents

  1. What is Onion Architecture
  2. Layers in Onion Architecture for an ASP.NET Core app
  3. Domain Layer in Onion Architecture
  4. Application Layer in Onion Architecture
  5. Infrastructure + Presentation Layer in Onion Architecture
  6. Onion Architecture vs Clean Architecture
  7. Onion Architecture vs N-Tier
  8. Let’s Implement Onion Architecture in ASP.NET Core with CQRS
  9. Creating Domain Layer of Onion Architecture
  10. Creating Application Layer of Onion Architecture
  11. Adding CQRS to Application Layer
  12. Creating Infrastructure Layer of Onion Architecture
  13. Creating Presentation Layer of Onion Architecture
  14. Testing with Swagger

Want to support me ?

Your support of every $5 will be a great reward for me to carry on my work. Thank you!

Buy Me A Coffee Paypal Me

Releases

No releases published

Packages

No packages published

Languages