views:

88

answers:

2

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?

A: 

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

bendewey
found duplicate question with a good answerhttp://stackoverflow.com/questions/128990/absolute-url-from-base-relative-url-in-c
Harry
A: 

yes u can use system.uri.