title: Is there a way to use WCF to redirect all HTTP requests on a certain port
body: <p>I need to redirect all requests on port 80 of an application server to a web server. I'm trying to avoid the need to install IIS and instead use WCF to do the job.</p>
  
  <p>It looks like an operation such as the one below is suitable but one problem I've got is if a URL of the form <a href="http://mydomain.com/" rel="nofollow noreferrer">http://mydomain.com/</a> is used then WCF will present a page about metadata.</p>
  
  <pre><code>    [OperationContract, WebGet(UriTemplate = "*")]
      RedirectToWebServer();
  </code></pre>
  
  <p>Does anybody know of a way to get WCF behaving the same as IIS in redirect mode?</p>