Three Essential Tips for Using Async in Microsoft Visual C# and Visual Basic

Download

Right click “Save as…”

Slides (view online)
+ My Schedule- My Schedule

You might already be using the new async language features in your C# or Visual Basic code—but are you using them effectively? Here are three essential tips to keep in mind: only use async void for event handlers; only use the threadpool for CPU-bound work; and use TaskCompletionSource to wrap events into Tasks. In this session, learn how to recognize bad async code smells, what the best-practice alternatives are, and why they’re important. The tips in this talk are a distillation of real-world practical experience that you'll put to use immediately.

Follow the Discussion

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.