0

I am using c# console application program to synchronize data. Previously i get the data from database B using web service json Restful which returns a XML document. After extraction of data from the XML, its inserted to my MSSQL database. I need to run the application everyday at a certain time to make sure the database is updated on my side. How to write a certain codes at my console app so that it sync the data from the XML (database B) and my data from my MSSQL? Insert, update and delete after comparison. If there is missing rows on my table, i update the rows and deletes if there is additional rows.

Cœur
  • 37,241
  • 25
  • 195
  • 267
huiru
  • 69
  • 4
  • 10

1 Answers1

0

Use Windows Service with Quartz (Cron Job Scheduler)

Read this question: Simple, working example of Quartz.net

Quartz is one of the best Job Scheduler out there for Windows Service

Community
  • 1
  • 1
VJPPaz
  • 917
  • 7
  • 21