*"How I Fixed a 300ms API Latency Spike—Without Touching the Database"*
csharp // Before: Potential leak await foreach (var item in asyncEnumerable) { // Process item } // After: Ensure cleanup await foreach (var item in asyncEnumerable.ConfigureAwait(false)) { // Process item } csharp // Before: Ignored cancellation await Task.Run(() => PerformCleanup());

