I'm trying to consume a RESTful web service API and use the data returned to construct an MVC3 site.
I'm not sure how best to proceed when handling the returned data. Should I manually create classes for the return data or is there a simpler/safer way?
Can anyone point me in the direction of a good tutorial?
Edit
To add some background info...
I might make a call to the API for some region information. This could result in a collection of depots being returned. Drilling down into the data, I could then request the routes associated with a depot and then request the drivers associated with the depot.
In the example above, I'll need to create objects for a region, depot and driver.
Is there a cleaver way to do this (maybe from the WSDL) or is it a typing exercise making properties for each object.
I suppose I could do with something like the entity framework to model the objects without having the database exposed to me. does such a thing exist?