Skip to content

h-fathi/onion-architecture-netcore

Repository files navigation

onion architecture netcore

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.

Give a Star ⭐️

If you found this Implementation helpful or used it in your Projects, do give it a star. Thanks!

We will talk about Onion Architecture In ASP.NET Core and it's advantages. We will also together build a WebApi that follows a variant of Onion Architecture so that we get to see why it is important to implement such an architecture in your upcoming projects.

Here is a list of features and tech we will be using for this setup.

Onion Architecture

Entity Framework Core

.NET Core 3.1 Library / .NET Standard 2.1 Library / ASP.NET Core 3.1 WebApi

Swagger

CQRS / Mediator Pattern using MediatR Library

CRUD Operations

Inverted Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages