What's the difference btw the following methods in .NET
remoting?

RegisterWellknownServiceType()
RegisterWellknownClientType()
RegisterActivatedServiceType()
RegisterActivatedClientType()

Answer Posted / anil kumar mudajja

RegisterWellknownServiceType():
Method used to define and configure a remotable Object that
needs to be Activated on server side. This takes 3
parameter as follows:-
RegisterWellKnownServiceType( typeof( <Class/Object
Name> ), <"SomeURI">,
WellKnownObjectMode.Singleton/SingleCall );

RegisterWellknownClientType():
This method has to be used on the client module to
comunicate with serve-side activated remote object. Ex:
RegisterWellKnownClientType( typeof( <Class/Object Name> ),
<"Server Remotable Object URL"> );


RegisterActivatedServiceType():
RegisterActivatedClientType():
Similarly, the above two methods are used to define
remotable object type as client activated.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you pass SOAP messages through remoting?

661


Explain marshalling and its types in .net remoting

588


Define remotable objects in .net remoting?

638


Explain serialization formatters in .net remoting

629


Explain the types of .net remoting?

689






Garbage collector?s functionality on unmanaged code ?

3178


What do you mean by windows authentication?

619


What are the information required to configure remote objects?

581


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

622


What are static assemblies and dynamic assemblies?

614


About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?

2650


What are the security features in .net remoting?

638


What are the types of remoting?

629


Define singleton activation mode in .net remoting?

591


What is the difference between the RegisterWellknownServiceType(), RegisterWellknownClientType(), RegisterActivatedServiceType() and RegisterActivatedClientType() in .net?

588