Wednesday, February 24, 2010

Some things you might not have known about System.Uri - “System.Uri FAQ”

Network Class Library Team (System.Net) - System.Uri FAQ

“NCL includes classes for networking related technology such as the base type System.Uri.  URI’s are used extensively to identify network resources, especially on the Internet. We’ve found that different customers frequently ask us the same questions about System.Uri and its capabilities, so we would like to share some of those questions with you here. For space reasons we will address some of the harder questions in an additional post about System.Uri Customization.

1. System.Uri vs. Strings …

2. Standards and History …

3. URI Components …

4. Canonicalization …

5. Uri Manipulation …

6. Supported Schemes …

7. UriFormatExceptions & Validating User Input …

8. MailTo Multiple E-mail Addresses …

9. Implicit Dos/Unc File Paths …

10. Unicode, IRI, and IDN …

image

…”

System.Uri is something I’m sure we’ve all used at one point or another, but how well do we know it? After reading this, I know I didn’t know it well at all.

Hello there System.Uri, good to meet you!

No comments: