Xamarin- Mysql,Php

codeRockercodeRocker USMember ✭✭

Hi Team,
I used PHP and mysql for my webapplication. My company wants to build mobile app. My data is in mysql. I am new to xamarin, how the xamarin forms can talk to mysql dB.


  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    Using Webservices, or using some MySQL .NET connector (if it works…)


  • codeRockercodeRocker USMember ✭✭

    Thanks Alessandro.
    Where the connection string will be stored? is it in the app? Then anyone can see the connection string right. that will be harmful right?

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭
    I think you can encrypt the string or store it in a password protected db
  • igorkr_10igorkr_10 Member ✭✭✭

    Its better to have three-tier architecture. Your mobile application (or frontend) must exchange data by webservices. Straight database connection may unsafe (f. e. SQL injections).

Sign In or Register to comment.