Request Cancellation in ASP.NET Core with HTTP/205/01/2026
ASP.NET Core allows to create endpoints that receive a cancellation token, such as below:
app.MapGet("/path", async (CancellationToken token) => { });
In this post, I will explore how a server (such as Kestrel) may fire the token to be canceled.