O'Reilly logo

Multithreading in C# 5.0 Cookbook by Eugene Agafonov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Using Asynchronous I/O

In this chapter, we will review asynchronous input/output operations in detail. You will learn the following:

  • Working with files asynchronously
  • Writing an asynchronous HTTP server and client
  • Working with a database asynchronously
  • Calling a WCF service asynchronously

Introduction

In the previous chapters, we already discussed how important it is to use asynchronous input/output operations properly. Why does it matter so much? To have a solid understanding, let us consider two kinds of applications.

If we run an application on the client, one of the most important things is to have a responsive user interface. This means that no matter what is happening with the application, all user interface elements, such as buttons ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required