title: 404 error when browsing to endpoint of a self hosted WCF service
body: <p>I'm having an issue when i connect to an endpoint using WCF Test Client i get the message </p>
  
  <p>Cannot obtain Metadata from <a href="http://localhost:8080/evals/basic" rel="nofollow">http://localhost:8080/evals/basic</a> </p>
  
  <p>I'm adding the endpoints and starting the host in code using </p>
  
  <pre><code>    private ServiceHost _serviceHost;
  
      public ServiceHost ServiceHost
      {
          get { return _serviceHost?? (_serviceHost= new ServiceHost(typeof(EvalService))); }
      }
  
      public void Start()
      {
          ServiceHost.AddServiceEndpoint(typeof(IEvalService),
                                  new BasicHttpBinding(),
                                  "http://localhost:8080/evals/basic");
          ServiceHost.AddServiceEndpoint(typeof(IEvalService),
                                  new WSHttpBinding(),
                                  "http://localhost:8080/evals/ws");
          ServiceHost.AddServiceEndpoint(typeof(IEvalService),
                                  new NetTcpBinding(),
                                  "net.tcp://localhost:1002/evals");
          ServiceHost.Open();
      }
  </code></pre>
  
  <p>and when i check the status using this method</p>
  
  <pre><code>    private void ShowServiceInfo()
      {
          var message = String.Format("{0} is {1} with these endpoints:\n", _host.ServiceHost.Description.ServiceType, _host.ServiceHost.State);
          foreach (var serviceEndpoint in _host.ServiceHost.Description.Endpoints)
          {
              message += "\n" + serviceEndpoint.Address;
          }
          MessageBox.Show(message);
      }
  </code></pre>
  
  <p>then i get this message which looks like everything is running ok</p>
  
  <p>HostService.EvalService is Opened with these endpoints:</p>
  
  <p><a href="http://localhost:8080/evals/basic" rel="nofollow">http://localhost:8080/evals/basic</a>
  http://localhost:8080/evals/ws
  net.tcp://localhost:1002/evals</p>
  
  <p>Anyone have any idea why browsing to the endpoint will not work?</p>