Whats the simplest way of retrieving a web page in .NET?
For a good mixture of flexibility and ease of use, the System.Net.WebRequest class is a good way of retrieving web content. Some very simple code is given below, but there are many options available including asynchronous downloads and lots of properties to both set and retrieve for the request and response. For some very simple scenarios, System.Net.WebClient is an alternative providing limited but very easy to use functionality.