4 posts about request cancellation by 3 contributors.
Know request cancellation? Share what you know with developers who are learning it.
Learn how to use CancellationToken in ASP.NET Core to stop unnecessary work when requests are aborted, including cancellation in EF Core queries and HttpClient calls.
Learn how to propagate CancellationToken through ASP.NET Core APIs, Entity Framework Core queries, and HTTP operations to stop work when requests are aborted.
Learn how to propagate CancellationToken through ASP.NET Core endpoints, services, EF Core queries, and HttpClient calls to stop unnecessary work when requests are aborted.
Discover how to use CancellationToken in Web APIs to enhance performance and resource management. Learn to gracefully handle client request cancellations, preventing wasted server resources on long-running tasks like database queries and file uploads. This guide covers best practices, scenarios for usage, and when to avoid CancellationToken, ensuring efficient and scalable API design. Implement cancellation effectively to improve user experience and reduce server load.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article