What are the ways to renew lifetime leases of objects?
Answer / Devendra Rajput
In .NET Remoting, you can renew lifetime leases of objects using several methods. One common approach is to implement the IServerHostSink and IClientHostSink interfaces and override the AfterCreateChannel method. In this method, you can create a new lease and attach it to the server-activated object (SAO). Another approach is to use client-activated objects (CAOs) and set their lease time manually or implement custom lease managers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define proxy in .net remoting?
What are various types of assemblies ?
What are static assemblies and dynamic assemblies?
What is the difference between the RegisterWellknownServiceType(), RegisterWellknownClientType(), RegisterActivatedServiceType() and RegisterActivatedClientType() in .net?
What are the steps to publish an object outside the service domain
Elaborate the term WebService and how it differ from Remoting?
Is it a good design practice to distribute the implementation to remoting client?
What are the types of remoting?
How do you implement distributed applications in .net?
What are the security features in .net remoting?
Types of compatabilities and explain them ?
What is strong name and what is the need of it ?