Click here to Skip to main content
15,887,440 members

Comments by sam3440 (Top 13 by date)

sam3440 1-Aug-14 21:28pm View    
response.Result is null
sam3440 1-Aug-14 12:15pm View    
it throws null reference exception for Result property in response.

full exception.System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
sam3440 1-Aug-14 10:10am View    
Updated code in question.


As soon as I do PostAsync, it fails in next line. same code works in console application
sam3440 31-Jul-14 16:41pm View    
Not sure if I need to report as bug, I did not find any one having same issue. So that makes me think that HttpClient should be used in different way in WCF ? any thought
sam3440 24-Mar-14 13:27pm View    
Hi Peter I did below to extract status but I still get the same output

foreach (var key in pairs.AllKeys)
{
string value = pairs[key];
//int intValue = int.Parse(value);
}
string value is "{\r\n\t\"status\":\"Success\"\r\n}"