Asynchronous Programming Series

Recently I wrote a series of posts regarding asynchronous programming. You can find the links to this series down below. In these series of posts I started from the definition of concurrency and how it’s different with parallelism. Then I moved on deeper into the subject by each post. My 10th post in this series was the last one related to asynchronous programming. I’m not going to continue this series but I’ll probably going to start a series of posts on parallelism.

In the upcoming series of posts, I’m going to look into different model of parallelism in .Net. I know there’s a lot of posts about these topics, but I think a complicated topic such as this can benefit from different perspectives.

Although there’s a lot of overlap between these two concepts, they are different as I’ve explained in concurrency vs parallelism. Also there’s a repository with the sample code used in these posts that you can find here.

Links

1 – Concurrency Vs Parallelism

2 – When to Use Async and Await and How it Works

3 – When Should You Use Task.Delay

4 – Top 7 Common Async Mistakes

5 – Using Task.WhenAny And Task.WhenAll

6 – How Functional Programming Helps With Asynchronous And Parallel Code

7 – Task.Run Vs TaskCompletionSource Vs Task.Factory.FromAsync

8 – Exception Handling In Asynchronous Code

9 – What Is SynchronizationContext

10 – Thread Safety

Share...
 

Hamid Mosalla

Hi, I'm Hamid ("Arman") a software engineer and tech lead with more than 11 years of experience building applications with C# and .NET. My background spans backend development, APIs, application security, and modernizing existing systems. Much of that work comes down to understanding how a system behaves and making changes without creating problems elsewhere. These days, my focus also includes AI engineering: deploying open-weight models, building agentic applications, and connecting models to tools and business data through the Model Context Protocol (MCP). I’m interested in the practical questions behind RAG, local inference, and agent workflows: how to give a model useful context, control what it can do, and evaluate whether it’s doing the job well. On this blog, I share technical walkthroughs and things I learn while working through those questions. Expect a mix of .NET, software design, and applied AI, with code examples and enough detail to try things yourself.

 

One thought on “Asynchronous Programming Series”

Leave a Reply

Your email address will not be published. Required fields are marked *