(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Async Development in WinRT – Part I

(0 votes)
0 comments   /   posted by Silverlight Show on May 21, 2013
Tags:   winrt , windows-store , can-bilgin
Read original post at Can Bilgin's Blog

When you are dealing with an application that directly interacts with a network, or works on network resources, your app is bound to make some long running calls. If we were dealing with a good old Windows Forms application, the most important point was to avoid your application from blocking the UI. We would use some background threads or a background worker, while displaying a (relatively annoying) loading sign. We could extend this pattern by using some completed or error event handlers to notify the UI about the worker thread. The basic goal here is to let the user know that the application is doing some work in the background without blocking the UI thread, hence avoiding the “MyApp is not responding” status.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter