Using CancellationToken Without Polluting Your Code
One of the strengths of ASP.NET Core is how easily it integrates cooperative cancellation through the CancellationToken mechanism. The framework offers two main ways to access the cancellation token tied to the request: via HttpContext.RequestAborted, or by accepting a...

RSS - Posts