What's the difference btw the following methods in .NET
remoting?
RegisterWellknownServiceType()
RegisterWellknownClientType()
RegisterActivatedServiceType()
RegisterActivatedClientType()
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 |
How do you define the lease of the object?
Explain marshalling and its types in .net remoting
In which conditions do you opt for Remoting services?
8 Answers Manland, Tech Mahindra,
Explain how can you automatically generate interface for the remotable object in .net with microsoft tools?
What security measures exist for .NET Remoting in System.Runtime.Remoting?
Where is global assembly cache located on the system?
What is a process ?
What are the different types of channels used by .net remoting?
Explain the difference between the registerwellknownservicetype(), registerwellknownclienttype(), registeractivatedservicetype() and registeractivatedclienttype() in .net?
What is UUID and GUID what is the size of this ID ?
What is the purpose of strong name?
What is the difference beween the registerwellknownservicetype() and registerwellknownclienttype()?