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
Can you explain remoting?
Define singlecall activation mode in .net remoting?
Can you pass SOAP messages through remoting?
What are the security features in .net remoting?
What are the types of remoting?
How are the activation URLs different in case of SAO and CAO in .NET remoting?
What is unmanaged code?
Define a process?
When should we choose .net remoting over .net web services?
Explain threading types?
Name the distributed systems available apart from .net remoting?
Explain how to perform remoting?
Explain how does assembly versioning in .net prevent dll hell?
Explain when we use web service and when we use remoting?
What is asynchronous programming?