Consume Web API2 using MVC

In this code sample I try to demostrate how to consume ASP.NET WEB API hosted on another server (as a REST services only) using ASP.NET MVC4 (as a client) with RESTSHARP.To play with the source code, one should have: Visual Studio 2013 express or later ASP.NET MVC4 or later

C# (699.6 KB)
 
 
 
 
 
5 Star
(1)
885 times
Add to favorites
10/12/2016
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
Click an item in the panel on the left to view the contents here.