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

1 hour, 15 minutes, 26 seconds


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

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

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.