title: Different url based on development environment with C# MVC
body: <p>I have two MVC web applications, a www.company.com and a solution.company.com</p>
  
  <p>The website www.company.com include links to solution.company.com/Contact but how can I set the href in the View to be able to test them in the development/pre-production/production environments?</p>
  
  <p>Dev:</p>
  
  <pre><code>&lt;a href="http://localhost:88/Contact/"&gt;Contact Us&lt;/a&gt; 
  </code></pre>
  
  <p>QA:</p>
  
  <pre><code>&lt;a href="http://qa.solution.company.com/Contact/"&gt;Contact Us&lt;/a&gt; 
  </code></pre>
  
  <p>PRD:</p>
  
  <pre><code>&lt;a href="http://solution.company.com/Contact/"&gt;Contact Us&lt;/a&gt; 
  </code></pre>