Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Three Essential Tips For Async - Introduction

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

Async involves some new concepts. They're not difficult; just unfamiliar. Over the past year Lucian Wischik has been watching how people use async/await in C# and VB. This series distils out the three top async patterns and anti-patterns.

Tips:

  1. Async void is for top-level event-handlers only, and event-like things. Don't use it elsewhere in your code.
  2. It's crucial to distinguish CPU-bound work (should be done on threadpool) from IO-bound work (which needn't).
 If you understand the basic flow of control in an async method, then those three points all fall naturally into place. This first introduction video explains that control flow.
 
Slides and source code are available on Lucian's blog.
 

Tags:

Follow the Discussion

Remove this comment

Remove this thread

close

Comment on the Post

Already have a Channel 9 account? Please sign in