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

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



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

Answer / 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

More Dot Net Remoting Interview Questions

explain is .NET Remoting?

2 Answers   Mind Tree,


Explain what is the relationship between a Process, Application Domain, and Application?

2 Answers  


What are the difference between static assemblies and dynamic assemblies?

0 Answers  


What are static assemblies and dynamic assemblies?

0 Answers  


How can you configure a .net remoting object via xml file?

0 Answers  






What is unboxing?

0 Answers  


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

0 Answers  


What are static assemblies?

0 Answers  


What is fundamental of published or precreated objects in remoting?

0 Answers  


Can you pass SOAP messages through remoting?

0 Answers  


What are the threading types?

0 Answers  


Elaborate the term WebService and how it differ from Remoting?

0 Answers   QuestPond,


Categories