Connect to PHP API to get mysql data

Joseph GodwinKE 1 Reputation point
2021-08-16T14:48:02.477+00:00

I am fairly new to xamarin. So far I have managed to build an app that connect to mysql remotely and gets data. Howver I want to app to use an api instead of remote msql connection. I have php api arealdy set for this. how can i connect xamarin to mysql using php api?

Developer technologies .NET Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. Joseph GodwinKE 1 Reputation point
    2021-08-17T10:59:50.963+00:00

    Closes thing to any help is create a webservice https://learn.microsoft.com/en-us/xamarin/get-started/tutorials/web-service/?tabs=vswin then build on this to consume your Web API to CRUD any mysql data.

    Also see here - https://learn.microsoft.com/en-us/xamarin/android/app-fundamentals/http-stack?tabs=windows


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.