Monday, July 11, 2005

.NET Remoting Questions

In .NET webservices, we can create a proxy class by either adding a web-reference in VS.NET or using the WSDL.exe tool from the command prompt. Who creates the proxy classes in .NET remoting?

What are well-known types in .NET remoting?

We have 2 methods of Activator -- GetObject() {Used for Server-activated objects}
and CreateInstance() { Used for client activated objects }
When do we use the 'new' operator ?

What are the advantages/disadvantages of using programmatic configuration of remoting data Vs config files?

When do we need to override the InitializeLifetimeService() method?

How are Life-times managed in a .NET remoting distibuted environment?

When would U use the SoapSuds.exe utility?

What's the difference between the Soapsuds.exe and Wsdl.exe tools? (Both of them are used to generate proxies for web-services)

Is it possible to have a binary formatter for a HTTP channel?

Can I use SoapSuds.exe for a Tcp channel? For a CAO?

What network calls happen when Activator.GetObject() is called for a SAO?

Can I pass parameters to the constructor of a CAO?