I want to access Microsoft SQL server database through Web API(web service) using System.Net.HttpClient. I have developed this xamarin cross platform app on windows 7 using visual studio community. In PCL class library i am not able to add reference of System.Net.HttpClient to access Microsoft sql server database trough web api request. Please give solution to resolve it either on windows system or mac system on which this project build is successful.
On Mac build is successful but received an error "An error occur when sending request" System.Net.HttpClientException.