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
What are the situations you will use singleton architecture in remoting ?
Difference between web services & remoting?
Define singleton activation mode in .net remoting?
What are the different types of channels used by .net remoting?
Explain the Flow of remoting?
Explain when we use web service and when we use remoting?
What are the difference between static assemblies and dynamic assemblies?
How do you directly call a native function exported from a DLL?
What is asynchronous programming?
What is unboxing?
What is a formatter in .net remoting?
Which Namespaces is used to achieve the Remoting?
Are you aware of containment and Aggregation ?
Define singlecall activation mode in .net remoting?
What does manifest consists?