filmov
tv
8 await async mistakes that you SHOULD avoid in .NET

Показать описание
Hello everybody I'm Nick and in this video I wanna talk real world mistakes that you might encounter regarding await async. It's an interesting topic that many people tend to get wrong and this comes down to how Microsoft handled the original rollout of the feature. In this video I will go through 8 real world scenarios of how it can be done wrong and talk about how we can fix them.
Timestamps:
0:00 - Intoduction
1:19 - Once async always async
2:46 - Async void is BAD
6:05 - Prefer Task.FromResult over Task.Run
8:00 - Avoid .Result and .Wait
9:37 - Prefer await over ContinueWith
11:19 - Always pass the CancellationToken
15:16 - Prefer async Task over Task
17:11 - Don't sync over async in constructors
Don't forget to comment, like and subscribe :)
Social Media:
#dotnet #await #async
8 await async mistakes that you SHOULD avoid in .NET
Correcting Common Async/Await Mistakes in .NET 8 - Brandon Minnick - Copenhagen DevFest 2023
Correcting Common Async/Await Mistakes in .NET 8 - Brandon Minnick - NDC London 2024
Correcting Common Async/Await Mistakes in .NET 8 - Brandon Minnick - NDC Porto 2023
C# Async Await Mistakes | Part 1
JavaScript ASYNC/AWAIT is easy! ⏳
Settling the Biggest Await Async Debate in .NET
'Stop Using Async Await in .NET to Save Threads' | Code Cop #018
Await Async Might Change Completely in .NET 9
JavaScript Async Await 👨🏻💻 Tutorial in 1 Minute #shorts
How to Make 2500 HTTP Requests in 2 Seconds with Async & Await
JavaScript Async Await
Async-Await - Supercharged
Correcting Common Async/Await Mistakes in .NET - Brandon Minnick
5 async await best practices in JavaScript
Adam Furmanek. async — biggest mistake in C #?
AsyncIO, await, and async - Concurrency in Python
Stop using async void in C#! Do this instead.
Javascript Async Await with Loops, Error Handling, Promise.All and Koa
ASP.NET Core Web API .NET 8 2024 - 9. Async/Await
Making your async code thread safe | .NET Tips 3
16.13: async/await Part 1 - Topics of JavaScript/ES8
Asynchronous Programming in C# - Practical Demo of Async, Await and Tasks
JavaScript Async Await in 8 Minuten - Deutsches Tutorial
Комментарии