Locking & async/await

Posted: Tuesday, 10 December 2019

You may have noticed that the C# compiler gets very upset if you try to use an `await` inside a `lock` statement. There is a reason for this but what if you need synchronization when calling async methods?

Read Locking & async/await

Awaiting multiple tasks effectively

Posted: Wednesday, 23 May 2018

Working with the Task API and async and await makes consuming asynchronous operations very straightforward. However, what if I want to process several asynchronous operations concurrently?

Read Awaiting multiple tasks effectively

Let's stop the async suffix BS

Posted: Thursday, 7 September 2017

There is a common pattern that is used in .NET APIs where anything that returns a Task has the suffix Async…

Read Let's stop the async suffix BS