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

What are the different types of channels used by .net remoting and which is the best one?

488


Which one is better WebService and Remoting ?

614


What do you mean by passport authentication?

522


What are the types of remotable objects?

562


What is the difference between remoting and webservice?

523






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

2568


Elaborate the term WebService and how it differ from Remoting?

558


Explain the hierarchial description of remoting?

533


What are the information required to configure remote objects?

517


What do mean by remotable objects in .net remoting?

520


Explain how to perform remoting?

524


Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com

2305


What is the purpose of strong name?

568


Define singleton activation mode in .net remoting?

516


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

509