Can you recommend a library/simple approach to calling REST API services from ASP.NET MVC3. In Nuget I see things like RESTSharp, Hammock, Craig’s Utility Library. I am looking for a common helper that I can then plug in multiple services.
Many thanks.
Starting a new MVC4 project comes with some default Microsoft WebApi packages for publishing and communicating with REST Apis – so if you have the opportunity to do this in MVC4 I would take it.
If not, you can still bring in the necessary nuget package into an MVC3 project to consume an api.
The you can do things in your controller/domain layer like: