how to merge urls with relative paths?

  • Thread starter Thread starter ask josephsen
  • Start date Start date
ask josephsen,

I would use the Uri class. Create a new instance of the Uri class with
the absolute url (www.someplace.org/themeOnePointZero), and the call the
static Create method, passing the Uri instance created before, along with
the relative Uri ("../imges/pic.png").

It will give you a new Uri instance which has the combined Uri.

Hope this helps.
 
Back
Top