title: Endpoint Address when Hosting in Window Service vs IIS
body: <p>i have a Service with a Name MyService and It implements a Service Contract IMyService </p>
  
  <p>when i am hosting in IIS i have added a SVC file and a Web.config and 
  provided the base address as</p>
  
  <blockquote>
    <p><a href="http://localhost:49495/MyService.svc/" rel="nofollow">http://localhost:49495/MyService.svc/</a></p>
  </blockquote>
  
  <p>Its working fine </p>
  
  <p>Now i want to Host the same Service in a Windows Service and now i am confused what should i give in base address of App config of a Windows Service </p>
  
  <p>should i give Class name MyWindowService Which Implement ServiceHost </p>
  
  <p>like this base address :- </p>
  
  <blockquote>
    <p><a href="http://localhost:49496/MyWindowService/" rel="nofollow">http://localhost:49496/MyWindowService/</a></p>
  </blockquote>