<baseAddresses>

Represents a collection of baseAddress elements, which are base addresses for a service host in a self-hosted environment. If a base address is present, endpoints can be configured with addresses relative to the base address.

<configuration>
  <system.serviceModel>
    <services>
      <service>
        <host>
          <baseAddresses>

Syntax

<baseAddresses>
  <add baseAddress="string" />
</baseAddresses>

Type

Type

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description
<add> A configuration element that specifies the base addresses used by the service host.

Parent Elements

Element Description
<host> A configuration element that specifies settings for a service host.

See also