title: Service endpoint not found?
body: <p>Seem to run into a service endpoint not found problem when trying to get from my service.</p>
  
  <p>if I try <a href="http://localhost:8000/hello/help" rel="nofollow">http://localhost:8000/hello/help</a> I should expect to see <code>&lt;string&gt;You entered help &lt;string&gt;</code> but I only get the no endpoint instead? I havent touched my config files at all and I am just hosting from a console app. </p>
  
  <p>Host:</p>
  
  <pre><code>namespace Host
  {
      class Program
      {
          static void Main(string[] args)
          {
              WebHttpBinding binding = new WebHttpBinding();
              WebServiceHost host =
              new WebServiceHost(typeof(Service1));
              host.AddServiceEndpoint(typeof(IService1),
              binding,
              "http://localhost:8000/hello");
              host.Open();
              Console.WriteLine("Hello world service");
              Console.WriteLine("Press &lt;RETURN&gt; to end service");
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <p>Service1:</p>
  
  <pre><code>namespace WcfServiceLibrary1
  {
      // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file together.
      public class Service1 : IService1
      {
          public string GetData(string value)
          {
              return string.Format("You entered: {0}", value);
          }
  </code></pre>
  
  <p>IService1:</p>
  
  <pre><code>[ServiceContract]
  public interface IService1
  {
      [WebGet(UriTemplate = "/{value}")]
      string GetData(string value);
  </code></pre>