HTTP Web requests from IIS7 using .NET

Making any type of Web request from the IIS shared hosting platform using ASP.NET code requires the connection to be made via a Proxy server.

Popular uses of this would be to make a Database connection to an external server, or to send an email by accessing another server for sending mail.

The Netregistry proxy server details are:

proxy.private.netregistry.net:3128

Example code to enter into your web.config file:

  <system.net>
<defaultProxy>
<proxy usesystemdefault = "false" proxyaddress="http://proxy.private.netregistry.net:3128" bypassonlocal="true" />
</defaultProxy>
</system.net>