How does one go about creating ac# wrapper for rest based service.
I want to access the rest based API at Www.zomato.com inside my Silverlight app.
Any guidance is appreciated.
I would take a look at some examples, there are numerous ones out in the wild. The following is a great example for twilio's rest api; it leverages RestSharp under the covers. RestSharp is a great libary (available via nuget) to help out with the heavy lifting of interacting with a web api.
Note: Microsoft is coming out with a richer HttpClient option in .net 4.5; in fact, you can get it now via nuget.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.