Reputation: 33
I want to develop a mobile app using Xamarin for Android. My clients will be using SQL Server 2008 database. How can I use Xamarin for Android to access SQL server 2008 database?
I have searched for it but it seems that most Xamarin apps use SQLite database in which files are stored on the device. This will not work for me as SQL server 2008 is a requirement.
I have found info on buidling Android app with SQL server but those use Java whereas Xamarin will use C#.
Can you please point me to some good tutorials or samples?
I appreciate your guidance.
Thanks
Upvotes: 1
Views: 10031
Reputation: 6553
You should build a Web Service to access the Database, and the Xamarin application can call the Web Service without any problems.
Here you have an introduction to different Web Services
http://docs.xamarin.com/guides/cross-platform/application_fundamentals/introduction_to_web_services
Upvotes: 1