Oli Trenouth

C# async-await: Common Deadlock Scenario

If you’re new to the async and await keywords in C# and .NET, then it’s likely you will eventually stumble across this deadlock scenario, which is difficult to debug if you’re not familiar with how async and await work under the hood. Consider this example asynchronous method

Oli Trenouth © 2026