title: Convert a string to URL in asp.net mvc
body: <p>I'm trying the following code to build an URL- </p>
  
  <pre><code>var httpPath= System.Web.VirtualPathUtility.ToAbsolute("~/ExcelFiles/" + fileName);
  </code></pre>
  
  <p>It returns - </p>
  
  <pre><code>/ExcelFiles/7b6ce1b2-828e-4c89-a893-bd32a00cd2e2.xlsx
  </code></pre>
  
  <p>But I want it to be -</p>
  
  <pre><code>http://my_site_address/ExcelFiles/7b6ce1b2-828e-4c89-a893-bd32a00cd2e2.xlsx
  </code></pre>
  
  <p>Any help?</p>