GetUrl() method is unreliable


The GetUrl() method builds a URL based on the order of Dictionary keys. The key order is unspecified in a Dictionary. I needed to change the code because I am porting it to Java using Grasshopper http://dev.mainsoft.com. Please let me know if you want the patch.

MSDN link: http://msdn.microsoft.com/en-us/library/yt2fy5zk.aspx
Closed Jul 26, 2008 at 9:28 AM by


mehfuzh wrote May 14, 2008 at 10:17 AM

i would like to know a deaill of it , i mean why you need to change. GetUrl should not accesed by outside world i should mark in internal. I have used SortedDictionary , that makes the order properly , tell me more about your thought. You can send me the patch, but make sure, it passes the Test :-)

mehfuzh wrote May 14, 2008 at 10:22 AM

Also, i guess your porting this API for Linux based system (accoridng to mainsoft), how you are giving support for linq in that case.