Articles - Page 4 of 5 - Hosting.Work


ASP.NET Core Microservices Code Refactoring into Reusable NuGet Package

Updated on: June 22, 2021

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: June 22, 2021

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.

(more…)

microservices api gateway

Microservices API Gateway to unify Multiple Microservices

Updated on: June 22, 2021

In a Microservices architecture there are lots of URL where request to the microservices is made. Therefore, API Gateway like Ocelot comes to be very handy. An API Gateway transforms the Incoming HTTP Request from the client and forward it to an appropriate Microservice. Ocelot has a JSON configuration file that states the upstream and downstream routes.

(more…)