Find application root URL without using ~
<p>I need to construct the URL of a page in a String, to send it an email (as part of an email verification system). If i use the ~ symbol to denote the app root, it is taken literally.</p>

<p>The app will be deployed on a server on three different sites (on different ports) and each site can be accessed via 2 different URLs (one for LAn and one for internet).</p>

<p>So hardcoding the URL is out of question. I want to construct the url to verify.aspx in my application</p>

<p>Please help</p>
