I am fairly new to Windows Phone
development, and I have a lot of classes that I thought would be straightforward by using some function in System.Web
(namely, HttpUtility.ParseQueryString
). But it seems that System.Web
is not available on Windows Phone
?
Is this correct? Or might I just be missing a way of adding it?
I'd really like to not have to hand write functions like ParseQueryString
.
Any advice on how to get a reference to System.Web
in my Windows Phone
app?
Cheers! Brett
It seems there are no such methods available in widows phone sdk, You can use your own code like this http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/src/core/HttpUtility.cs?r=961
More info you can get at this discussion, HttpUtility.UrlEncode in Windows Phone 7?
Now It is solved by using this :