Reputation: 219
I have got a MS DB with some data about some customers and I want to develop an application which can run offline, therefor I read that CouchDB and PouchDB can sync to each other
How can I synchronise the data from a MS DB to a CouchDB, what's the best way I can implement this.
Furthermore I want to develop this application with C#, is this the best way or should I use JavaScript when I use PouchDB?
Upvotes: 4
Views: 967
Reputation: 31
If you plan to use CouchDB within .NET context, you should take a look at the MyCouch Library.
Upvotes: 1
Reputation: 2131
There is not a standard mechanism for synchronizing data between a relational database and CouchDB/PouchDB. This is much dependent of your logic and how you want to map your relational data model to the document oriented data model that is supported by CouchDB/PouchDB.
I recommend you to perform a synchronization between your "MS DB" and a CouchDB as your server side elements.
In the client, you should select a CouchDB client that supports synchronization and is compatible with your selected programing language. PouchDB is a good option if your want to write your application in JavaScript, but if your preferred language is C#, I'll recommend you to have a look to Couchbase Lite for .Net (https://developer.couchbase.com/documentation/mobile/1.5/installation/net/index.html)
Upvotes: 1