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

Schema Hierarchy

<system.serviceModel>
  <client>
    <endpoint>
      <host>
        <baseAddresses>

Syntax

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

Type

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

<add> of <baseAddresses>

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

Reference

HostElement
ServiceHost
BaseAddresses

Other Resources

Hosting