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 dynamic assemblies?
Which Namespaces is used to achieve the Remoting?
What is the proxy of the server object in .net remoting?
What are the advantage of remoting over web services?
Types of compatabilities and explain them ?
What does manifest consists?
What are the difference between static assemblies and dynamic assemblies?
What is the Difference between CAO and SAO in Remoting.
Which one is better WebService and Remoting ?
Explain the Flow of remoting?
Name the distributed systems available apart from .net remoting?
What are the ways to configure remoting objects before client can use them?
Explain serialization formatters in .net remoting
What are the ways to renew lifetime leases of objects?
Will clr handle unmanaged code or not?