Click here to Skip to main content
14,934,895 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how i can connect xamarin forms with JSON database server. i have some fields and one database server . i want to connect xamarin forms to database table using

What I have tried:

how i can connect xamarin forms with JSON database server. i have some fields and one database server . i want to connect xamarin forms to database table using 
Posted
Updated 5-Sep-18 3:31am

There's no such thing as a "JSON database server".

If you're talking about a mobile application, you wouldn't connect directly to the database. You would be calling a web service that does the database work for you, transferring data back and forth with your app, formatting the data in a parsable fashion, such as JSON.
   
As already stated, your Xamarin app needs to communicate with an API or services that serves data in a form of JSON. Take a look at this article for example: Fun with Xamarin: Building a Simple Working Memory Game App with Web API and SignalR[^]

And here's a more detailed article if you are consuming a Web API: Call a Web API From a .NET Client (C#) | Microsoft Docs[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900