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