Skip to content
0:00 / 0:00

#asyncawait#task#elision

Settling the Biggest Await Async Debate in .NET

Nick Chapsas

429K subscribers • 62 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Nick Chapsas
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

158K views3 years ago2 recommendations

Programming languagesSystems programmingC# and .NETConcurrency and parallelismPerformance and optimization

Nick Chapsas explores the debate around returning Tasks directly versus using async/await keywords in C#.

Join the NDC Conferences Giveaway: mailchi.mp/nickchapsas/ndc Check out my courses: dometrain.com Become a Patreon and get source code access: patreon.com/nickchapsas Hello everybody I'm Nick and in this video I will take a look at one of the biggest await async debates in .NET and try to find the best answer for each usecase. Workshops: bit.ly/nickworkshops Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: bit.ly/ChapsasGitHub Follow me on Twitter: bit.ly/ChapsasTwitter Connect on LinkedIn: bit.ly/ChapsasLinkedIn Keep coding merch: keepcoding.shop #csharp #dotnet

Why it's here

2 people recommend this

What people say. Recommended as a clear explanation of the trade-offs when deciding whether to elide async/await in C#.

u/anxiousmarcusin r/dotnet • Recommends

On “Can someone please help to confirm how async/task/await works in C# (or any language really).”

Do yourself a favor, forget everything else and watch this video [video This will tie in your knowledge of async and tasks together nicely. Once that is done, go here -> [video Once you're done there, go here -> https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/async-scenarios and then -> https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/task-asynchronous-programming-model It helped me. Am sure it will help you too. Take it slow, don't get frustrated and learn with a relaxed mind. Once it clicks, you'd be better than 80 percent of the .NET devs out there instantly. All these are relatively easy resources my man. I can't explain async/…

u/BlackstarSolarin r/dotnet • Recommends

On “Should I async/await a method when the only async functionality returns another method's Task?”

There are pros and cons to each, it depends on the situation. Nick Chapsas has a video on it. link to this video