Is there support for the async/await pattern in WP8?
I need to get XML from a web-based API and it looks like that WebClient or WebRequest
WebClient
WebRequest
There is some support for WP8 in the Microsoft.Threading.Tasks.Extensions.Phone.dll provided as part of the Microsoft.Bcl.Async NuGet package described in this blog post.
Microsoft.Threading.Tasks.Extensions.Phone.dll
In particular, it includes WebClient.DownloadStringTaskAsync.
WebClient.DownloadStringTaskAsync