title: WCF service configuration file question regarding <baseAddresses>
body: <p>From what I've seen the  tag is ignored when hosting a WCF service in IIS.  I understand that when self-hosting this is required but is this harmful or even used when operating under IIS?</p>
  
  <p>ex.</p>
  
  <pre><code>&lt;system.serviceModel&gt;
    &lt;service blah blah blah&gt;
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="http://localhost/blah" /&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
     &lt;/service&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>From what I've seen you can take a config file describing a service from one machine and use that on a completely different machine and it works fine. It looks as if IIS completely ignores this section.</p>
  
  <p>Thanks,
  kyle</p>