I have 2 question
How to get absolute Uri in asp.net. For example: Input: "~/Files/" , Output:"www.sampleweb.com/Files/"
What is the "go to root" command in url on the client side like server side command "~/Files/"
For example:
File location
myAspProjectName/Files/aa.jpg
myAspProjectName/User/bb.aspx
into the bb.aspx
<asp:image ImageUrl="~/Files/aa.jpg" id="img1" runat="server"/>
this work fine. But
<img src="~/Files/aa.jpg" alt=""/>
don't work