Articles - Page 4 of 5 - Hosting.Work


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…)

Asynchronous Communication microservices rabbitmq

Microservices Asynchronous Communication with RabbitMQ and MassTransit

Updated on: December 9, 2023

In this tutorial we will understand how Asynchronous Communication between Microservices work. In our Pizza Drone Delivery application we have 2 Microservices – CommandCenter and ProcessCenter. They communicate with one another synchronously using HttpClient class. We will change this communication to Asynchronous one by using RabbitMQ which is an open-source message broker.

(more…)