Articles - Page 3 of 5 - Hosting.Work


Onion Architecture in ASP.NET Core with CQRS : Detailed & Illustrated

Updated on: June 22, 2021

Computer Engineer Jeffrey Palermo created Onion Architecture 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.

(more…)

Implementing ASP.NET Core CRUD Operation with CQRS and MediatR Patterns

Updated on: June 22, 2021

In computer programming we generally use a design pattern which will help us write codes to solve problems efficiently. There are many design patterns and one of the most commonly used once are CQRS and Mediator Patterns. The CQRS and Mediator patterns will work together to create a loosely coupled object what will not call one another explicitly.

Download the complete source code of this tutorial from my GitHub Repository.

(more…)

ASP.NET Core Razor Pages : CRUD Operations with Repository Pattern and Entity Framework Core

Updated on: June 22, 2021

Repository Pattern is one of the most popular patterns to create apps. It removed duplicate database operation codes and De-couples the application from the Data Access Layer. This gives added advantages to developers when they are creating the apps.

In this tutorial we well be creating CRUD Operations using Repository Pattern.

(more…)