c# get absolute path code example Example: get absolute url c# string absoluteurl = System.Web.HttpContext.Current.Request.Url.AbsoluteUri;