How to perform Remoting?

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


Please Help Members By Posting Answers For Below Questions

What are the remotable objects in .net remoting?

591


What is objref object in remoting?

795


Define singlecall activation mode in .net remoting?

599


Will clr handle unmanaged code or not?

647


Explain the difference between the registerwellknownservicetype(), registerwellknownclienttype(), registeractivatedservicetype() and registeractivatedclienttype() in .net?

614






Define the lease of the object?

670


Explain how can you automatically generate interface for the remotable object in .net with microsoft tools?

625


How are the activation URLs different in case of SAO and CAO in .NET remoting?

2169


What are the types of remotable objects?

664


What is the proxy of the server object in .net remoting?

662


What are the different types of channels used by .net remoting?

607


What do you mean by windows authentication?

621


What are the situations you will use singleton architecture in remoting ?

636


define client activated objects (cao)?

708


What are the threading types?

631