Chapter 24. Improving Response Time by Performing Asynchronous Operations

After completing this chapter, you will be able to

  • Define and use asynchronous methods to improve the response time of applications that perform long-running operations.

  • Explain how to reduce the time taken to perform complex LINQ queries by using parallelization.

  • Use the concurrent collection classes to safely share data between parallel tasks.

In Chapter 23, you saw how to use the Task class to perform operations in parallel and improve throughput in compute-bound applications. However, while maximizing the processing power available to an application may make it run more quickly, responsiveness is also important. Remember that the Microsoft Windows user interface operates ...

Get Microsoft® Visual C#® 2012 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.