This documentation is archived and is not being maintained.

<client> Element

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).

Contains objects the application consumes. Because the url attribute is required for client-activated types, but not for server-activated types, each unique URL will have its own client element containing the client-activated types published at that location. This element may occur in an application configuration file, machine configuration file.


The following sections describe attributes, child elements, and parent elements.


Attribute Description


This attribute is optional if the remote types are all server-activated types; however, it is required if any remote types are client-activated.


Used by the .NET Framework Configuration Tool to create a list of client applications. The .NET Framework remoting system does not use this attribute.

Child Elements

Element Description


Contains information about server-activated (well-known) objects the application wants to consume. Can occur one or more times in the client element.


Contains information about client-activated objects the application wants to consume. Can occur one or more times in the client element.

Parent Elements

Element Description


Contains information about remote objects the application consumes and exposes.


The root element in every configuration file used by the common language runtime and .NET Framework applications.


Contains information about remote objects and channels.

The following configuration file declares a server-activated (well-known) remote type for consumption and specifies that the client application should use the HttpChannel but allow the .NET Framework remoting system to find an appropriate port on the client's behalf.

               type="RemoteType, RemoteAssembly"