Check out example codes for "c# get full URL of page". It will help you in understanding the concepts better.

Code Example 1

string absoluteurl = System.Web.HttpContext.Current.Request.Url.AbsoluteUri;

Learn ReactJs, React Native from akashmittal.com