To get the current Url without the query in VB.NET

Request.Url.AbsoluteUri.Split("?")(0)