Showing results for Concurrency - .NET Blog

Mar 16, 2020
20
4

Async ValueTask Pooling in .NET 5

Stephen Toub - MSFT
Stephen Toub - MSFT

The async/await feature in C# has revolutionized how developers targeting .NET write asynchronous code. Sprinkle some and around, change some return types to be tasks, and badda bing badda boom, you've got an asynchronous implementation. In theory. In practice, obviously I've exaggerated the ease with which a codebase can be made fully asynchron...

.NET.NET CoreC#
Dec 11, 2019
51
51

ConfigureAwait FAQ

Stephen Toub - MSFT
Stephen Toub - MSFT

.NET added / to the languages and libraries over seven years ago. In that time, it's caught on like wildfire, not only across the .NET ecosystem, but also being replicated in a myriad of other languages and frameworks. It's also seen a ton of improvements in .NET, in terms of additional language constructs that utilize asynchrony, APIs offering asy...

.NET.NET CoreC#
Dec 11, 2019
39
18

An Introduction to System.Threading.Channels

Stephen Toub - MSFT
Stephen Toub - MSFT

"Producer/consumer" problems are everywhere, in all facets of our lives. A line cook at a fast food restaurant, slicing tomatoes that are handed off to another cook to assemble a burger, which is handed off to a register worker to fulfill your order, which you happily gobble down. Postal drivers delivering mail all along their routes, and you eithe...

.NET.NET CoreC#