.NET Async Programming in a Nutshell

Nelson Parente
4 min readSep 12, 2020
Photo by Lopez Robin on Unsplash

Asynchronous programming is not a new concept and has been around for several years and it is nowadays a new standard in modern frameworks like AspNetCore. This framework is now fully asynchronous and it's not easy to avoid using its async keyword.

I think there is a certain cloud of fear when it comes to asynchronism, developers sometimes feel afraid of using it because they don’t understand how to use it and its best practices.

Another reason for this sense of fear is due to the fact that in the past asynchronous programming was not easy at all indeed. Since the introduction of async/await keywords in C# 5 asynchronous programming has become much easier to work with.

If you are afraid of asynchronism you have come to the right place, there is no need to jump up to me! In this article, I’ll present you with some of the best practices when it comes to async programming in .NET and you’ll see that's not that big of a deal you might think it is.

What is Asynchronous Programming?

“Asynchronous programming is a means of parallel programming in which a unit of work runs separately from the main…

--

--

Nelson Parente
Nelson Parente

Responses (1)