Using async/await with WebClient in Windows Phone 8 (or: TaskCompletionSource saves the day)

Akkiraju Ivaturi Jan 28, 2013
When you share code between Windows Phone 8 and Windows 8, you can use async/await to code against asynchronous APIs, which is a nice step in the right direction.
When you share code between Windows Phone 8 and Windows 8, you can use async/await to code against asynchronous APIs, which is a nice step in the right direction. However there are Windows Phone APIs that do not support async/await yet. Probably the most annoying to date is the WebClient (which in Windows 8 has been replaced by a better API called HttpClient).

Akkiraju Ivaturi

I am a Microsoft Programmer, Architect and blogger. I love resolving complex issues with more than  a decade of  development and software architecture experience. You can follow my blog ilovemicrosoft.blogspot.... Read more

COMMENT USING