The onion architecture, introduced by Jeffrey Palermo, overcomes the issues of the layered architecture with great ease. With Onion Architecture, the game changer is that the Domain Layer (Entities and Validation Rules that are common to the business case ) is at the Core of the Entire Application. This means higher flexbility and lesser coupling. In this approach, we can see that all the Layers are dependent only on the Core Layers.
If you found this Implementation helpful or used it in your Projects, do give it a star. Thanks!
Here is a list of features and tech we will be using for this setup.
- Onion Architecture
- Entity Framework Core
- .NET Core 6.0.9 Library / .NET Standard 6.0 Library / ASP.NET Core WebApi
- Swagger
- CQRS / Mediator Pattern using MediatR Library
- CRUD Operations
- Inverted Dependencies
- API Versioning
- Facebook - OyekunleUmarFarouk
- Twitter - @FaroukOyekunle