Question

I am writing a search engine (why not hey?) and need to handle navigating relative urls such as "../about.aspx", "/about.aspx" "about.aspx" etc

Is there anything out there or in the .Net Library's which can convert these to absolute addresses?

Was it helpful?

Solution

Take a look at the System.Uri class, the System.UriBuilder class, and the System.HttpStyleUriParser class

OTHER TIPS

Yes, you can use the system.uri.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top