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

Problem

Solution

Listings

Retrieve data from a server.

Use the WebClient class.

21-1 through 21-5

Create a simple ...

Get Introducing Visual C# 2010 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.