The Dangers of Handling Async Event Handlers in C#

preview_player
Показать описание
There's no dancing around this one - async event handlers in C# are an absolute nightmare. We all know we're not supposed to use async void in our code. We're taught that from day 1 when using async await in C#. But when it comes to the signatures of events, we have no choice but to use async void for our async event handlers!

In this video, I'll demonstrate what's going on with async void so you understand exactly where the problems arise. I'll also share several improvements we can work with to try and make our lives easier.

----
🔑 Membership & Subscriptions:

🧠 Courses:

🗣️ Social Media & Links:

❤️ Affiliations & Products/Services That I Love:
----

#dotnet #csharp #coding #programming #softwareengineering
Рекомендации по теме
Комментарии
Автор

📌 Learn how to program in C#:

💪 Skill up your refactoring:

✉️ Subscribe to my free software engineering newsletter:

DevLeader
welcome to shbcf.ru