O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

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

.NET Protocol Classes

Some classes within the System.NET namespace make connecting to a Web site easy. These classes include WebRequest, WebResponse, HttpWebRequest, HttpWebResponse, FileWebRequest, FileWebResponse, and WebClient.

These classes provide the following features:

  • Support for HTTP, HTTPS, FILE, and so on

  • Asynchronous development

  • Simple methods for uploading and downloading data

This list of classes might seem like too many classes to handle; however, with the exception of WebClient, the request classes derive from WebRequest, and the response classes derive from WebResponse.

Support for HTTP, HTTPS, and FILE

The request object is generated from the static WebRequest.Create method, and the WebResponse object is generated from the request ...

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