Chapter 8. Asynchronous patterns

After completing this chapter, you will be able to

  • Write code using the asynchronous pattern in WinRT.

  • Use the async and await keywords in C#.

  • Choose the right synchronization context in your code.

The preceding chapters showed how to write a Windows Store app, and you have already seen and written asynchronous code related to the Windows Runtime (WinRT) methods and events. This chapter explains how asynchronous calls work in WinRT and how to write your own asynchronous code correctly in application and library code. By reading this chapter, you will learn how to leverage the new asynchronous patterns available in .NET 4.5 and Windows Store applications.

await and async keywords for asynchronous patterns

In previous ...

Get Build Windows 8 Apps with Microsoft Visual C# and Visual Basic Step by Step 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.