Asynchronous Programming with XamarinFilip Ekberg
I’m Filip Ekberg
Readify
@fekberg
Author. Blogger. Speaker. C# MVP. Geek.
Demo
Async and Await in Xamarin
@fekberg
Considerations• Don’t mark void methods as
asynchronous methods• Tasks swallow Exceptions!• Wait() this is an easy path to
deadlocking• Follow the naming convention
MyMethodAsync• Don’t lie by wrapping
synchronous/blocking code in async methods
• The continuation is on the calling thread!
@fekberg
Want to deep-dive?
@fekberg
http://bit.ly/async-await-dotnet
Thank you,I’m Filip Ekberg
Readify
@fekbergAuthor. Blogger. Speaker. C# MVP. Geek.