Jason Famularo
Stop me and ask questions! (Although I may save them for the end)
What is Async?
Why do we need async?
- Asynchronous programming has traditionally been really, really hard
- Keeps UI from being blocked on long running tasks
- Lots of newer APIs are async
- Mobile OSes disallow networking to run on UI thread
How do you async in C#?
Let's look at some code
Exception handling
Async greatly simplifies exception handling
Common Pitfalls
- Not asyncing all the things!
- Avoid "async void". At almost all costs.
Questions?
Ask away!
Jason Famularo