Improving response time by performing asynchronous operations

After completing this chapter, you will be able to:

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

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

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

Chapter 23, “Improving throughput by using tasks,” demonstrates 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 can make it run more quickly, responsiveness is also ...

Get Microsoft Visual C# Step by Step, Ninth Edition now with the O’Reilly learning platform.

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