Writing async/await from scratch in C# with Stephen Toub
dotnet dotnet
283K subscribers
81,449 views
0

 Published On Mar 28, 2024

Join Stephen Toub and Scott Hanselman as they dive deep into the world of .NET. On this first episode, Stephen and Scott demystify the world of asynchronous programing with .NET and specifically the magic behind async/await, something that developers use every day. To do so, he builds his very own implementation of async/await completely from scratch and explains throughout the way. If you are looking to go deeper with .NET then you are in the right place.

Chapters:
00:00 - Intro
03:00 - Understanding concurrency, parallelism, and asynchronous
08:30 - Creating our own ThreadPool
26:00 - Creating our own Task
45:30 - Putting together ThreadPool and Tasks
56:00 - Async iterators and yield
01:05:00 - Wrap-up

Resources:
Blog: https://devblogs.microsoft.com/dotnet...
Docs: https://learn.microsoft.com/dotnet/cs...
Final Code: https://gist.github.com/jamesmontemag...

Connect with .NET:
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋‍♀️Q&A: https://aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: https://aka.ms/learndotnet

#dotnet #asyncawait #csharp

show more

Share/Embed