title: Request.Url.Host and ApplicationPath in one call
body: <p>Is there any way to get <code>HttpContext.Current.Request.Url.Host</code> and <code>HttpContext.Current.Request.ApplicationPath</code> in one call? </p>
  
  <p>Something like "full application url"?</p>
  
  <p>EDIT: Clarification - what I need is this the part within []:</p>
  
  <pre><code>http://[www.mysite.com/mywebapp]/Pages/Default.aspx
  </code></pre>
  
  <p>I ask simply out of curiosity.</p>
  
  <p>EDIT 2: Thanks for all the replies, but none of them were exactly what I was looking for. 
  FYI, I solved the problem this way (but am still interested in knowing if there's a smoother way):</p>
  
  <pre><code>public string GetWebAppRoot()
  {
      if(HttpContext.Current.Request.ApplicationPath == "/")
          return "http://" + HttpContext.Current.Request.Url.Host;
      else
          return "http://" + HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.ApplicationPath;
  }
  </code></pre>