Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am new in c# and sql server programming and am also doing my research thesis in distributed database. I want to know how to create a distributed database application with replication so there is a server and client where data in the server database is replicated into the client database. I am short of ideas and I need help. If possible any available source code.

What I have tried:

I am very new so I have not tried anything yet
Posted
Updated 5-Feb-19 20:00pm
Comments
Richard MacCutchan 6-Feb-19 4:54am    
If this is a research thesis then you do not need to know either C# or SQL. Your thesis is (according to you) about distributed database, so that is what you should be focusing your research on. The theory is far more important than the actual implementation.

This is a very, very complex subject, and not one that can be covered in a little text box. Start here with a simple overview: Data Replication in Distributed System[^] and then follow some Google links: distributed database replication - Google Search[^]
This is not a trivial project, not even slightly, and it is one that requires serious thought before you start implementing it as the database has to be designed from the start to support this. Will you find "available source code" that will exactly fill your needs? No, almost certainly not!
 
Share this answer
 
I'm not sure what your architecture is, but is it desired that all clients have the same data as the server or is it more a local repository and the server is the sum of different repositories?

You might want to consider if you want to push or pull data.
How do you wish to transfer the data: Via the SQL-Server itself (I'm pretty sure there is a way to do that) or through C# code.

Both through the database directly or through code I would start at looking into different sync options that already exist (google is your friend here), writing it yourself is not a trivial task.

I think you'll need to clarify your functionality first before diving into the sync options.

Hope this helps.
 
Share this answer
 

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