Generate my links automatically
<p>I would like to generate my links automatically via a static class in each of my aspx pages (or in a common BasePage).</p>

<p>Currently I use this:</p>

<pre><code>private const string TEMPLATE =
    "~/One.aspx";

public static string Link ()
(
    string link = String.Format(TEMPLATE);
    return link;
)
</code></pre>

<p>But the name of my page, One.aspx is hardcoded. Is it possible to generate the path instead of this hardcoded constant TEMPLATE. You should know that I do not instantiate the class before creating the link.</p>

<p>The idea is to never hardcode a link but use a variable in my Redirect()</p>

<pre><code>HttpContext.Current.Response.Redirect(PageOne.Link);
</code></pre>
