Click here to Skip to main content
15,667,247 members
Articles / General Programming / Threads

Tagged as

Stats

7.5K views
13 bookmarked

Understanding Synchronization Context; Task.ConfigureAwait in Action

Rate me:
Please Sign up or sign in to vote.
5.00/5 (10 votes)
28 Aug 2021CPOL10 min read
SynchronizationContext class and how it affects code behavior in action, and a look at Task.ConfigureAwait()
When dealing with asynchronous code, one of the most important concepts that you must have a solid understanding of is synchronization context. Synchronization context is one of the most ignored concepts in the asynchronous programming realm as it is often hard for developers to understand. Today, we will try to simplify things as much as we can. We will have a look at SynchronizationContext classes and see how it affects code behavior in action. We will also have a look at one of the most important methods in TPL library, Task.ConfigureAwait().

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer. He is a MCP, MCTS (WinForms), MCPD (Windows Apps), MCSA (SQL Server), MCSE (Data Analytics), and MCT expertized in .NET Framework technologies, data management and analytics. He is also a Project Management Professional (PMP) and a Quranic Readings Institute (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.

Comments and Discussions