title: How to hard-code a default WCF endpoint for a service?
body: <p>In a self-hosted service, I'd like to use the endpoint(s) specified in App.config, if present, or a default endpoint specified in code if App.config is empty. How can I do this?</p>
  
  <p><strong>Edit</strong>: to clarify, this is on the server (service) side using ServiceHost.</p>