title: How to convert url path to full or absolute url in ASP.NET MVC?
body: <p>I am developing Web Application using ASP.NET MVC in C#. But I am having a problem with retrieving full or absolute url. In ASP.NET MVC we get url like this. <code>Url.Content("~/path/to/page")</code>. It will return <code>"path/to/page"</code>. But what I want to do is I have a string like this - <code>"~/controller/action"</code>.</p>
  
  <p>Let's consider my website domain is www.example.com. If I use <code>Url.Content("~/controller/action")</code>, it will just return "controller/action". I want to get <code>"www.example.com/controller/action"</code>. How can I get it?</p>