how to get the URL in View in MVC code example Example: mvc get base url Click to copyRequest.Url.GetLeftPart(UriPartial.Authority) + Url.Content("~")