Resolving URL in ASP.net using Tilda (~)

I have been using .net since it has come out and I just found this out (so, I am kind of pissed). When I wanted to link to another url in my site e.g. <a href=”~/folder/file.aspx”>click here</a> it never worked because the <a> tag doesn’t understand the tilde (~). The way I used to fix(…)