title: WCF Service Endpoints vs Host Base address
body: <p>so i'm a litle confused over what the service endpoints and host base address is for. In all the examples i have walked through so far they talk about setting up the endpoints with the required bindings and you can normally navigate to those endpoints</p>
  
  <p>Hoever when i use the following config to set up and host my service it only seems to expose the Hosts base address.</p>
  
  <pre><code>    &lt;configuration&gt;
        &lt;system.web&gt;
          &lt;compilation debug="true" /&gt;
        &lt;/system.web&gt;
        &lt;!-- When deploying the service library project, the content of the config file must be added to the host's
        app.config file. System.Configuration does not support config files for libraries. --&gt;
        &lt;system.serviceModel&gt;
          &lt;services&gt;
            &lt;service name="HostService.EvalService"&gt;
              &lt;endpoint address="http://localhost:8080/basic"
                binding="basicHttpBinding" contract="HostService.IEvalService" /&gt;
              &lt;endpoint address="http://localhost:8080/ws"
                binding="wsHttpBinding" contract="HostService.IEvalService" /&gt;
              &lt;endpoint address="mex" binding="mexHttpBinding"
                name="mex" contract="IMetadataExchange" /&gt;
              &lt;host&gt;
                &lt;baseAddresses&gt;
                  &lt;add baseAddress="http://localhost:8080/EvalsService" /&gt;
                &lt;/baseAddresses&gt;
              &lt;/host&gt;
            &lt;/service&gt;
          &lt;/services&gt;
          &lt;behaviors&gt;
            &lt;serviceBehaviors&gt;
              &lt;behavior name=""&gt;
                &lt;serviceMetadata httpGetEnabled="true" /&gt;
                &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt;
              &lt;/behavior&gt;
            &lt;/serviceBehaviors&gt;
          &lt;/behaviors&gt;
        &lt;/system.serviceModel&gt;
      &lt;/configuration&gt;
  </code></pre>
  
  <p>Can someone explain this to me?</p>