Chapter 21. Networking & WCF

The .NET Framework Class Library contains extensive support for network programming. Classes range from the convenient (allowing you to retrieve data from HTTP servers simply and easily) to the low-level (creating custom network protocols) to the feature-rich (creating web-services and service-oriented protocol). To get the most from this chapter, you will need a basic understanding of networking—in particular, an appreciation of the Internet Protocol (IP) and associated protocols, such as TCP, UDP and HTTP. Table 21-1 provides the summary for this chapter.

Table 21-1. Quick Problem/Solution Reference for Chapter 21




Retrieve data from a server.

Use the WebClient class.

21-1 through 21-5

Create a simple ...

Get Introducing Visual C# 2010 now with O’Reilly online learning.

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