How to Use Ocelot as an API Gateway in ASP.NET Core

An API gateway is a frontend server for APIs, handling incoming API requests and routing them to the appropriate backend services. It plays a crucial role in microservice architecture by offering a single entry point to the system. Some main functionalities of an API gateway are: Routing Authentication Authorization Request composition Caching Load balancing Fault tolerance ServiceContinueContinue reading “How to Use Ocelot as an API Gateway in ASP.NET Core”

Reading Request Headers Across Multiple .NET Core API Controllers

I was working on creating a .NET Core-based API and came across a requirement to read a particular request header across the API controllers.  To understand it better, let us say there are two API controllers, InvoiceController ProductController We need to read the value of a particular Request Header in both controllers. To do that,ContinueContinue reading “Reading Request Headers Across Multiple .NET Core API Controllers”

How to write Unit Tests for a .NET Core Application

Read full article on the Infragistics blog Writing unit tests is a good software engineering practice. In this article, we will learn how to create a C# .NET Core application while adhering to the Test Driven Development (TDD) approach. In the TDD approach, before implementing a functionality, you write a unit test for it. ForContinueContinue reading “How to write Unit Tests for a .NET Core Application”

How to Write Your First .NET Core 2.0 Application

Read full article on the Infragistics blog hereMicrosoft .NET Core is a cross-platform open source software development framework that can be used to build applications for mobile, Windows, and the web. You can learn more about .NET Core here, but in this blog post, we’ll walk you through how to create and publish a .NETContinueContinue reading “How to Write Your First .NET Core 2.0 Application”