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 |
What are channels in .NET Remoting?
What distributed process frameworks outside .NET do you know?
How can you create a strong name for a .NET assembly?
How can you automatically generate interface for the remotable object in .NET with Microsoft tools?
1 Answers Tavant Technologies, TCS, Tech Mahindra,
How to decide which to use .net remoting or asp.net web services?
Can you explain remoting?
What are different types of assemblies?
Explain how does assembly versioning in .net prevent dll hell?
What are the information required to configure remote objects?
Can you configure a .NET Remoting object via XML file?
Define delegates and events?
Define proxy in .net remoting?