Answer Posted / ramakrishna pidugu
Remoting Performance and Auto Web Proxy .
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.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the ways to renew lifetime leases of objects?
Explain how does assembly versioning in .net prevent dll hell?
What is the difference between remoting and webservice?
Explain the hierarchial description of remoting?
How are the activation URLs different in case of SAO and CAO in .NET remoting?
Difference between .net remoting versus distributed com?
Write a example code for remoting?
What are the channels in .net remoting?
What are the types of remotable objects?
What are static assemblies?
What is fundamental of published or precreated objects in remoting?
Explain threading types?
Explain the types of .net remoting?
Define the lease of the object?
Can we configure a .net remoting object via xml file?