Fix error handling in sample code.
Add blog post links.
Correctly handle exceptions in asynchronous methods.