Is there a method to validate URLs in .Net, ASP.Net, or ASP.Net MVC?
static bool IsValidUri(string urlString) { try { new Uri(urlString); return true; } catch { return false; } }