Asynchronous Programming Techniques with .NET 4.5

Опубликовано: 17 Июнь 2026
на канале: Intertech
4,485
9

This presentation will introduce developers to past and current multithreaded programming techniques using C#, .NET 4.5, and Visual Studio 2013. It first introduces the purpose, advantages, and risks of implementing parallel programming in your .NET solutions. Next, it introduces the .NET 4.0 Task Parallel Library (TPL) as a simple way to run several tasks simultaneously. The primitive synchronization types are then covered, explaining what they are and how to use them effectively. Thread-safe data structures and collections are also covered for controlling access to data in a safe manner. As well, techniques for maintaining an interactive user interface during background processing is discussed. The new async/await keywords introduced with .NET 4.5 for non-blocking event handling are also covered. The presentation wraps up with an introduction to multithreaded debugging in Visual Studio 2013.

1. Introduction to Multithreaded Programming
2. Introducing the Parallel Library (TPL)
3. Primitive Types
4. Thread-Safe Collections
5. User Interface (UI) Threading Techniques
6. async and await
7. Debugging Async Code in Visual Studio 2013