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 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 safely share data between parallel tasks.
Chapter 23, “Improving throughput by using tasks,” demonstrated how to use the Task
class to perform operations in parallel and improve throughput in compute-bound applications. However, although maximizing the processing power available to an application can make it run more quickly, responsiveness ...
Get Microsoft Visual C# Step by Step, 10th 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.