One of the dominant themes throughout this release of .NET is the ability to perform work in an asynchronous manner. Each release of .NET has given us new (and easier) ways to write async code such as the Asynchronous Programming Model (APM) and the Task Asynchronous Pattern (TAP) in C# 4.0. In the latest release, a new model using the new keywords
await is introduced. Although this book is C# focused we will also briefly cover the new changes in VB.NET.
Let’s take a real-world example that illustrates some of the advantages and disadvantages of performing work ...