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

What does manifest consists?

0 Answers  


Explain the types of .net remoting?

0 Answers  


How to decide which to use .net remoting or asp.net web services?

0 Answers  


How do you directly call a native function exported from a DLL?

2 Answers  


How can we call methods in remoting asynchronously?

0 Answers  






What are the difference between static assemblies and dynamic assemblies?

0 Answers  


Types of compatabilities and explain them ?

0 Answers   DELL,


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

0 Answers   Excel,


What are the types of remoting?

0 Answers  


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

0 Answers  


What is objref object in remoting?

0 Answers  


What?s Singleton activation mode?

3 Answers  


Categories