Understanding the Difference Between CancellationToken and HttpContext.RequestAborted in .NET 8
I am currently working on a .NET 8 Web API project consisting of multiple controllers. In my current setup, I’m passing a CancellationToken from the controller action methods down to the repository tier to manage asynchronous tasks.