ireynolds/Weather — pull request #1 by dlhartveld (2013-08-06 22:40:13+00:00)
Title: Replacement of APM usage (Begin/EndGetRequest, etc.) with TAP (GetResponceAsync) and async/await

As part of a research project at the University of Illinois at Urbana-Champaign, we're developing a refactoring tool that replaces instances of the [APM](http://msdn.microsoft.com/en-us/library/ms228963.aspx) pattern with corresponding [TAP](http://msdn.microsoft.com/en-us/library/hh873175.aspx) method calls and the [async/await](http://msdn.microsoft.com/en-us/library/hh191443.aspx) keywords. I've applied it to this project and found four calls to APM methods.

This pull request replaces those existing calls to APM Begin/End* methods with functionally equivalent TAP constructs and the async/await keywords.

This commit contains the actual code-level changes: f8cdd460e38698f56fe846134c08407d02662e89

The rest of the pull request is mostly related to NuGet package restore. I've enabled it, otherwise VS 2012 wouldn't allow me to add another dependency that is needed: [Microsoft.Bcl.Async](https://www.nuget.org/packages/Microsoft.Bcl.Async) is a package that adds support for async/await-based programming to older frameworks (Such as WP). The `packages/` directory, containing the downloaded NuGet files, is now also ignored by git.

Are you interested in merging this pull request? If not, please let me know why, and I'll try and improve the pull request with your comments in mind.

Thanks for your time,
David Hartveld