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 the situations you will use singleton architecture in remoting ?
What are the security features in .net remoting?
Will clr handle unmanaged code or not?
What are the ways to renew lifetime leases of objects?
How do you directly call a native function exported from a DLL?
What is unmanaged code?
What is the difference beween the registeractivatedservicetype() and registeractivatedclienttype()?
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
Explain how to perform remoting?
Explain marshalling and its types in .net remoting
Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com
What is unboxing?
What is Remoting?
Explain the Flow of remoting?
About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?