Hi,
i would like to know best way to develop an application which runs locally. Here is my requirement and how i used to do all these days
Requirement:
1. Develop a application which runs on a frequent interval(may be 1 minute once) in a windows server class os2. Do something locally and pass the information to remote server by calling a WCF service
Below is the method i used for the above requirement.
1. Develop a windows service application using (VS 2010 ->New project->C#->Windows->Windows Service)2. Add a Timer and specify Timer.Interval is 1 minute3. Write a function to do something4. Call the function in Timer_Elapsed5. Add installer (ServiceInstaller and ServiceProcessInstallar)6. Build the applcation7. Install this app as windows service and start it. (Can be viewed in services.msc)
Kindly let me know is there any better way to do the above.
Thanks in advance
Regards,
Murugesan