CHAPTER 13

image

Asynchronous Programming Model

The only reason for time is so that everything doesn’t happen at once.

—Albert Einstein

Windows applications are intended to be used in a connected world where having the application request data from a server halfway around the world is a common occurrence. To keep applications responsive, whether waiting for data from a remote server or from a file on the local hard drive, many of the WinRT libraries have been built around an asynchronous model. This chapter discusses that model and considerations that you must make as a developer to successfully program against it.

Laying Some Foundation

This chapter ...

Get Beginning Windows 8 Application Development: XAML Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.