Posts tagged with: CancellationToken

Explore all posts associated with this tag.

CancellationToken in .NET: Best Practices to Prevent Wasted Work

CancellationToken in .NET: Best Practices to Prevent Wasted Work

Learn how to use CancellationToken in ASP.NET Core to stop wasted work, cancel HTTP requests, optimize database queries, and improve backend performance with real-world examples.

By Steve Bang on December 20, 2025

Read more