u/The_MAZZTerin r/dotnet • Recommends
On “[HELP REQUEST] Taking user input to send email using synchronous/asynchronous tasks”
429K subscribers • 63 videos on Hallway
Intermediate. Assumes working knowledge.
61K views3 years ago2 recommendations
Programming languagesSoftware designC# and .NETConcurrency and parallelism
Nick Chapsas explains the dangers of using async void in C# and demonstrates how to handle asynchronous fire-and-forget operations safely.
Use code REST15 for 15% off the new From Zero to Hero - REST APIs in .NET course: bit.ly/restchapsas Become a Patreon and get source code access: 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é: meziantou.net/fire-and-forget-a-task-in-dotnet.htm 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 #dotnetWhat people say. Recommended as a helpful explanation of why async void is dangerous in C# and how to handle exceptions properly.
u/The_MAZZTerin r/dotnet • Recommends
On “[HELP REQUEST] Taking user input to send email using synchronous/asynchronous tasks”
u/Kraigiusin r/programming • Recommends
On “I started a repo to gather a collection of scripts that leverage programing language quirks that cause unexpected behavior. It's just so much fun to see the wheels turning in someone's head when you show them a script like this. Please send in a PR if you feel like you have a great example!”