Last post Apr 23, 2014 09:05 AM by Horizon_Net
Apr 19, 2014 03:10 AM|balaece25ASP|LINK
I was asked to consume web api REST service (which will make DB calls to retrive data) which has been implemented in .net 4.5 (MVC) in existing .net 3.5 website application project.. I'm totally new to web API.. I just went through the logic of consuming
web API from client side. It looks like we need to install web api client through nuget. and it can be accessed through HTTP client .. but those are not available in .net 3.5.. If this is the case how can i implement this in .net 3.5 web tier project.. And
also i was asked to refer the DTO's used in that Web API.. but all are 4.5.. Is there any way to consume these without making project target as 4.5 .. Thanks in Advance.
Apr 23, 2014 09:05 AM|Horizon_Net|LINK
for older .NET versions you could use the
WebClient class instead. You'll find a short example for making a GET request on