Looks async, isn’t.
Why
CPU-bound work inside async.
Fix
Offload CPU work explicitly.
await Task.Run(() => HeavyCalculation());
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Looks async, isn’t.
Why
CPU-bound work inside async.
Fix
Offload CPU work explicitly.
await Task.Run(() => HeavyCalculation());