Get URL of ASP.Net Page in code-behind [duplicate]

Use this:

Request.Url.AbsoluteUri

That will get you the full path (including http://...)

Leave a Comment