Correlation IDs are a valuable tool for troubleshooting and debugging ASP.NET Core Web APIs. They allow you to track the flow of a request through your application, from start to finish. In this video, we'll show you how to implement correlation IDs in ASP.NET Core Web APIs with .NET 6.

In this video we will be going to be discussion Correlation Id why do we need it and how can we implement it in our  .NET 6 Web API.

00:00 Intro
01:21 The Theory: Why do we need Correlation Id
11:47 Coding time
12:14 Creating the Application
14:36 Understanding Middleware
20:17 Creating the Correlation Service
30:33 Creating the Middleware Service
43:33 Adding CorrelationService to our controller
46:32 Testing our code


Github - https://github.com/mohamadlawand087

#webapi  #hyperledger   #dotnet 

How to implement correlation IDs in ASP.NET Core Web APIs with .NET 6
1.05 GEEK