Introducing .NET Remoting
.NET Remoting provides a powerful and high performance way of working with remote objects. In this article, David gives an introduction on how to use remote objects in .NET
Managing the Lifetime of Remote .NET Objects with Leasing and Sponsorship
Leasing and sponsorship is the solution for managing the lifecycle of a remote object in .NET. Each object has a lease that prevents the local garbage collector from destroying it, and most distributed applications rely upon leasing. There are several ways in which objects and clients can extend the lease, including dedicated sponsor objects. In this article, the author explains leasing, shows how to configure it, and how it relates to the various remoting activation models. He then discusses design guidelines and options, along with their impact on throughput and performance. Additionally, he introduces a helper class used to automate the management of lease sponsors.
Working With Events Over Remoting
Subscribing to events of objects instantiated via remoting can be a tricky business. However, it is possible to build solid event publish/subscribe applications while using remoting simply by applying a few extra strategies then might not seem immediately obvious. Throughout the document, I will refer to the process that exposes the object for remoting as server and the process that instantiates an instance (local proxy) of a remote object as client. However, all of these processes may in deed take place on the same machine.
Software Development Targets corporate developers and technical managers working at mainly mid- to large-size companies with sizable development staffs....
subscribe now