Andy Wigley

Mobile App development and more...

Browse by Tags

Tagged Content List
  • Blog Post: Beware the perils of async/await in application lifecycle event handlers (in fact in *any* event handlers)

    Many developers are, quite rightly, adopting the use of async and await when writing Windows Phone and Windows 8 Store apps. It’s the right thing to do, as it allows long-running operations such as network calls and file i/o to complete efficiently without any risk of inadvertently locking up the UI...
  • Blog Post: Async and Await for HTTP Networking, Part 2–HttpClient

    In my previous post on this topic, Async and Await for Http Networking on Windows Phone , I described how you can use extension methods to create awaitable methods on the WebClient and HttpWebRequest APIs. Courtesy of Microsoft’s .NET Framework team, there have been more developments in this area – the...
  • Blog Post: Async and Await for Http Networking on Windows Phone

    Using async and await for executing long-running operations such as networking calls has many benefits: your code is much cleaner and easier to maintain, the result is automatically marshalled back to the originating thread so you don’t need to use Dispatcher.BeginInvoke to get back to the UI thread...
Page 1 of 1 (3 items)