Mobile App development and more...
Translate This Page
Translate this page
Windows Azure Notification Hubs
Windows Phone 8
Browse by Tags
Tagged Content List
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...
31 Jul 2013
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...
12 Mar 2013
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...
7 Feb 2013
Page 1 of 1 (3 items)
© 2013 Microsoft Corporation.
Privacy & Cookies