CancellationTokens: from an aborted request all the way to SQL Server
How ASP.NET Core notices aborted HTTP requests and propagates the cancellation through EF Core down to SQL Server, and how architecture tests make sure no action forgets it.
Read the CancellationToken deep dive