public static IEnumerable<KeyValuePair<string, string>> GetQueryParams(this UriBuilder uri) { return uri.ParseQuery().AsKeyValuePairs(); }