Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Json deserialize error
Message
From
06/05/2016 15:36:37
 
 
To
06/05/2016 15:24:25
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01635955
Message ID:
01635964
Views:
54
>Sorry for my ignorance but I am getting an error HttpResponse type could not be found. Not sure what type that should be?

I'm guessing the EndDate. Should be string as the format isn't recognized as DateTime.

Also, I saw one bug in the code I provided.
var result = response.Content.ReadAsAsync<DetailsHeader>();

should be

var result = await response.Content.ReadAsAsync<DetailsHeader>();
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform