Code - UriViewer

Code Drop

Download it here.


This is a small WinForms application that shows the properties of an ExtendedUri object (it extends Uri) via a PropertyGrid control. Here's what the application looks like when you enter a Uri:

The ExtendedUri class has a QueryString property that has all of the name-value pairs in the query string.

Known Issues

  • The dialog window for the QueryString property is...dull. Need a better UI view for this property.

Future Enhancements

  • Improve the view of the QueryString property.

Version History

  • 2.0 branch
      • Changed ExtendedUri to return a NameValueCollection (maps well to the new HttpUtility.ParseQueryString() utility method).
      • Minor upates to code structure.
  • 1.1 branch
      • Branch was frozen - no more changes will be made to the 1.1 version.

Blog History