How to: Register a Server-Activated Object and a Client-Activated Object for a Host Application Domain
This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).
The following example shows how to register a server-activated object and a client-activated object for a host application domain. The type attribute in the <activated> tag indicates the full type name and assembly name of the object, as it appears in the <wellknown> tag.
<configuration> <system.runtime.remoting> <application> <service> <wellknown mode = "SingleCall" type = "myType,myAssembly" objectUri = "myType.soap" /> <activated type="MyActivatedType, TypeAssembly" /> </service> </application> </system.runtime.remoting> </configuration>