Chapter 26. Network Communications

In this chapter

Using the Dns Class

Using the WebClient Class

Using the WebRequest and WebResponse Classes

Using the WebProxy Class

NTLM Authentication

SSL Communication

Posting Data

System.Net Errors

There are times when you will need to request data from other Web servers within your ASP.NET application. At first, this idea might seem strange. After all, we have been talking about using Web Services to get data from other servers. Although Web Services are extremely useful and represent the current recommended way for obtaining data from other servers, not all servers will offer Web Services to your application.

For example, there might be a page on another server that presents data or information of some sort, ...

Get Special Edition Using® Microsoft® ASP.NET 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.