Remoting Performance and Auto Web Proxy [Hoop Somuah]

The .Net Framework 2.0 has significant changes to its support for proxies including support for connection-specific proxy settings, automatic proxy configuration and the ability to automatically refreshing proxy settings whenever the active connection changes. These features can be very useful in .Net Remoting but the auto web proxy feature can also affect performance. If you do not need these settings in your client it might be useful to disable them.


There are a number of ways to disable this:


1. In Internet Explorer Open Internet Options, (either through control panel or the Internet Explorer™ tools menu), switch to the connections tab, and select LAN settings. Clear all checkboxes under automatic configuration. This will disable automatic proxy settings for the current user (note that this will not work for ASP.NET sites making outgoing web service calls because they run under a different user).

2. Imperatively disable it by setting System.Net.WebRequest.DefaultWebProxy = null;

3. In your config file bypass the proxy for your web-server. You can also disable the default proxy altogether. (See:


The following article has some great information about the automatic configuration features in the .Net Framework