Stop using async void in C#! Do this instead.



Stop using async void in C#! Do this instead.

Stop using async void in C#! Do this instead.

Use code REST15 for 15% off the new From Zero to Hero – REST APIs in .NET course: https://bit.ly/restchapsas

Become a Patreon and get source code access: https://www.patreon.com/nickchapsas

Hello everybody I’m Nick and in this video I will show you why you should not be using async void in C#. It is a very common mistake that can have very catastrophic effects for your application and in this video I will explain why.

Blog by Gérald Barré: https://www.meziantou.net/fire-and-forget-a-task-in-dotnet.htm

Workshops: https://nickchapsas.com/p/workshops

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#csharp #dotnet

Comments are closed.