Windows Phone 8 アプリケーションを開発
しています。system.net.httpwebrequest; を使用して dll を使用できません。
Windows Phone 8 では、http リクエストを webclient に変換する必要があります。変換方法を提案できますか?
private HttpWebResponse GetHttpWebResponse(HttpWebRequest webRequest)
{
HttpWebResponse response;
try
{
response = (HttpWebResponse)webRequest.GetResponse();
//GetResponse() produce error that System.Net.HttpRequest dll is missing,
//so im in need to conertr the http request to webclient.
}
catch (WebException we)
{
response = (HttpWebResponse)we.Response;
}
return response;
}
my complete Json data
[
{
"id": 01,
"address": "12asdf",
"city": " chennai",
"contact1": "",
"contact2": "",
"country": " india",
"description": "",
"name": " david",
"region": "",
"state": " 033",
"website": "",
"image": "",
"PrayerTime": {
"id": 01,
"PrayerTime1": "00:52",
"PrayerTime2": "21:04",
"PrayerTime3": "12:27",
"PrayerTime4": "05:35",
"PrayerTime5": "21:04",
"created_at": null,
"PrayerTime6": "04:01",
"updated_at": null,
"organization_id": 001
}
},.............
}