True. An AppDomain may contain multiple assemblies.
True. An AppDomain may contain .dll and .exe files.
True. An AppDomain can be unloaded from a process.
Three activation modes: client activation, server activation (single call), and server activation (singleton). HTTP or TCP can be used with all.
Single call server activation creates a new object on each call; single call singleton creates an object on the first call only. The object is then used for other calls.
CurrentLeaseTime Amount of time until object is available for Garbage Collection.
InitialLeaseTime Initial lifetime of a lease.
RenewalOnCallTime Amount that CurrentLeaseTime is increased on called object.
Set the LeaseManagerPoolTime in a configuration file to specify how frequently the lease manager checks for expirations.
Client-activated and server-activated singleton use leases.
c. A server-activated singleton object is created when the first call is made to the host object.
Channel registration indicates the type of protocol to be used usually TCP or HTTP in the remoting and the port number to be used. Type registration specifies the available remote object and the activation mode type.
An interface or SoapSuds is used to prevent having to place a full assembly on the remoting client's machine. The assembly provides metadata, but can also expose proprietary code. An interface provides only the metadata a client requires. SoapSuds extracts the metadata and places it in a file that is deployed on the client's machine.