Windows Service and Console Application
Hi all,
I am having a windows service to pull data from database, process it, do some manipulations and then finally store to a destination database. The service will pull the data from maxdate of last updated date till current day.
Now if there are any problem occured in the calculation of the data and if is stored to destination db, then we need to re-generate the data for that period. So I am planning to write a console application to re-generate the incorrect data for the specified period.
For my re-generation I need to change some logic for date manipulations and do the same.
Please can anybody inform me to convert a windows service to a console applicaiton. Can I use the same functionality by calling the windows service by doing some customization.
Thanks and Regards,
Ram Kumar N D
|