My first approach was to try to get the results from first web service in the view page, manipulate the result with JQuery, extract the information and then make the second web service call. However, I thought it was clumsy.
Then I came across C# 4.0, Dynamic Programming and JSON by Nikhil which is also great, but again for my application was an overkill.
Excellent tool to have in your arsenal when you want to work with web services which returen JSON in MVC.
Saturday, November 20, 2010
Parsing Json using C# dynamic