Summary

This chapter dove deep into the intricacies of multithreading with .NET, a technique that’s easy to use but difficult to master. Threading works best with an independent task—where the amount of interaction with other threads is minimal and the time required to complete the operation is long enough to warrant the added complexity in design. Judicious, infrequent use of threads can make a client application far more responsive and easier to work with.

In the next chapter, we’ll continue our exploration of threading with a look at its role in distributed components.

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting 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.