Articles - Page 4 of 6 - Hosting.Work


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

Updated on: December 17, 2023

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 that 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: December 9, 2023

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 in ASP.NET Core Razor Pages using Repository Pattern.

(more…)

ASP.NET Core Microservices Code Refactoring into Reusable NuGet Package

Updated on: December 9, 2023

In our Drone Pizza Delivery application we have built 2 Microservices – CommandCenter and ProcessCenter. You may have notice there are some classes that are used in both these Microservices which makes the code redundant. We can take these common classes and codes to a new Class Library project and create a NuGet package of it.

(more…)