Overview
Explore the future of asynchronous programming in C# with this comprehensive conference talk. Delve into the world of distributed systems and microservices, understanding their inherently asynchronous nature. Learn to identify and avoid common pitfalls when using async and await, and discover best practices for building robust asynchronous programs. Gain in-depth knowledge of async streams, a powerful feature introduced in C# 8. Through practical examples and a breakfast analogy, grasp the differences between parallel and asynchronous programming, and understand the mental model behind async code. Examine task composition, thread pool usage, and the Configure Await method. Conclude with a review of the .NET Foundation and C# language features that support asynchronous programming, equipping yourself with the skills to build efficient and future-proof distributed systems.
Syllabus
Introduction
Breakfast analogy
Parallel vs asynchronous
Async code
The mental model
The next step
Dont compose
Composition of tasks
How it works
Common misconception
Thread pool
Configure await
Demo
Async strain
Review
NET Foundation
CSharp
Taught by
NDC Conferences