3
Reply

NameResolutionFailure in Xamarin HttpClient (VS2015 C#)

Avrajit Bhattacharya

Avrajit Bhattacharya

Oct 5 2016 1:06 AM
1.1k
Hi All,
 
While consuming a REST get API by HttpClient from Xamarin (VS 2015 community edition C#) we're getting "NameResolutionFailure" exception as we've configured user permission for using INTERNET in manifest file.
Furthermore, the first REST get API call was successful but the above said exception happened while consuming different REST get API and in that case the address returning data fine when we test the API through Advance Rest Client (Chrome). The API address consist of IP instead of DNS.
Please suggest to overcome this issue.
Thanks, 

Answers (3)