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 is the difference beween the registeractivatedservicetype() and registeractivatedclienttype()?
Define singlecall activation mode in .net remoting?
What?s Singleton activation mode?
How can you automatically generate interface for the remotable object in .NET with Microsoft tools?
1 Answers Tavant Technologies, TCS, Tech Mahindra,
What is the difference beween the registerwellknownservicetype() and registerwellknownclienttype()?
How to directly call a native function exported from a dll?
How can you debug failed assembly binds?
What are the ways to configure remoting objects before client can use them?
What are dynamic assemblies?
What is the difference between authentication and authorization ?
7 Answers Digital GlobalSoft, Qatar University,
What are remotable objects in .NET Remoting?
Can you have two files with the same file name in GAC?