Windows Phone Syncing with remote database - sql-server-2008

I am starting to build a windows phone application which requires data from a remote SQL server database. To improve performance, I have been suggested that I perform a sync with the local database on the phone. So in the sync I can bulk copy from the remote SQL database to the local compact SQL database.
Can anyone suggest what is the best way to perform this sync? Any tools? APIs?
Thanks

Related

connect xls to mysql on web [dumb question but maybe possible?

So excel can connect via ODBC to local dbms, pulled data back with a simple SELECT stmt. I have a Mysql dbms running on the web... can I connect via odbc locally on my home laptop to my web-based dbms? I'm running API to populate my web-based dbms and want to pull that data in excel locally. Not sure if possible.

Process of creating database on your own server

I bought "Hetzer" server so I can create my own database and practice a little bit. My server is using Ubuntu. I plan to also create a script (probably in node or asp) so my android application can communicate with database.
How to start with creating database, what to do?
Firstly https://www.hetzner.com/ is one of the best professional web hosting providers. In order to set up your Mysql server to your ubuntu machine. Install lamp stack. There are many tutorials about installing lamp. Then open your DB for remote connection or do kind of restful service to access your data in DB.

Android Connecting to Mysql

I am creating an android application in android studio and I am using SQLite as the local database. I am using MySQL database as the application server. I want to be able to pull the data from MySQL into Android Studio to access it and also sync the local SQLite database and the MySQL database.
I do not want to use Web services and php files to connect MySQL, I would like to use JDBC instead, so My question is:
can I use JDBC to this purpose and how?

Windows App with mySQL Backend

I am trying to design a database application for my small business. I've created a number of form driven MS Access databases for use before but would like to create a permanent solution in something more advanced & common.
I was thinking of using mySQL for the database and would then program a C# or VB application to be used in Windows. I do not want or need a web based version at this time but the migration to VB.net in the far future may be something I'll look into.
I know I can use a MS Access backend for my windows application without having to install MS Office on any or all the computers the program will be run for.
But here is my question. Is it necessary to install mySQL Server on the PC hosting the database, on all the PCs accessing the database or can I just use the database file as the backend and Visual Studio will have all the necessary tools I need to access it?
If I have to install the server I may just stick with the MS Access database as the needs for an excessive amount of database storage won't ever be an issue.
You'd need to install MySQL server on the Server hosting the database. The clients would then connect via the network. You will however need a driver to access the MySQL-Server with VB.NET on the client machines. A simple DLL-File might be enough, though.
If you are looking for a file-based database solution have a look at SQLite. But you will have to watch out for concurrency issues here.

SQL Server 2008: Share data between Compact 3.5 and Express

Question: How can we connect a SQL Server CE DB to a SQL Server Express DB? We can't use Merge replication because you can only be a Subscriber in SQL Server Express, not a Publisher.
More background information:
We have an application structured as follows:
1) Our headquarters, running SQL Server 2008
2) Branches, running SQL Server 2008 Express
3) Machines, running SQL Server Compact
Each machine needs to connect to its branch to send data. Then the branch needs to connect to our headquarters to send the data. The synchronization of data between the machines and branches should be fairly often (ideally twice a minute), because branch operators may need to respond to emergencies. The synchronization between the branch and the headquarters can be less often (I'm thinking daily). However, we would need to support network failures.
We do not expect to have conflict resolution, so I would like to avoid having to use Microsoft Synchronization Services. Looking at this page SQL Server Express BOL, I see that Merge Replication can meet our needs, and I am planning on using it between our HQ and branches, but as I said above, we need a way to connect the compact DB to Express.
Check out the Microsoft Sync Framework:
a comprehensive synchronization
platform enabling collaboration and
offline for applications, services and
devices with support for any data
type, any data store, any transfer
protocol, and network topology.
You can design an application to connect to your SQL Express instance and perform a manual synchronization - something like a home-grown replication. I would deploy the app on your SQL CE machines, and "pull" the information required to synch down from each machine.