title: Generate full URL in MVC?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/434604/how-to-i-find-the-absolute-url-of-an-action-in-asp-net-mvc">How to I find the absolute url of an action in ASP.NET MVC?</a><br>
    <a href="https://stackoverflow.com/questions/3864043/asp-mvc-action-link-absolute-url">Asp MVC Action link absolute url</a>  </p>
  </blockquote>
  
  
  
  <p><strong>Hi,</strong></p>
  
  <p>Is there a easy way to generate the full URL for a specific action? I have tried this :</p>
  
  <pre><code>urlHelper.Action("Action", "Controller")
  </code></pre>
  
  <p>But this does generates a "\".</p>
  
  <p><strong>BestRegards</strong></p>
  
  <p><strong>Edit 1:</strong> I have tried this : </p>
  
  <pre><code>urlHelper.Action("List", "Ad", null, "http"); 
  </code></pre>
  
  <p>but it only returns : localhost:16055. I was expecting somthing like localhost:16055/Ad/List ?</p>