Hi,
I am trying to build (csharp) one webservice /WCF engine that make two actions:
1 – Have one timer (thread), that will run in each 10-10 minutes, requesting some information (connecting with other server to grab some info - status) to update in one database. (This must be automatic and no human action will be available). The idea is the webservice automaticaly (10x10 minutes) update the database with the recent information status.
2 – One service method that get some information from one database. (This is one simple method that gives the information when someone request it). This method will responsible to select the status info from database.
The problem is the step 1, because step 2 e very easy.
Can anyone help me, with ideas or some code, how to the step 1. Any pattern should be used here ?
Thanks