Get Base Url in ASP.NET MVC 28-12-2015 17:26:00 C# / ASP.NET MVC 0 Bookmark(s) 4532 View(s) How to get the base URL of a website var baseUrl = Request.Url.GetLeftPart(UriPartial.Authority) or static: var baseUrl = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority);