I need to write a C# 2010 windows service that calls a console application at different times. Since I have not written a windows service before, can you tell me the following:
1. How do you setup a windows service initally? Is it a windows service a desktop application, console application, or what kind of an application is it?
2. How to you include a timer in the application so it executes at specified time periods?
Can you tell me and/or point me to references that will answer these questions listed above for me
Loading
Sukesh MarlaPosted Sep 4, 2012, 11:02 PM
Just CReate Timer inside OnStart..
scampercatPosted Sep 4, 2012, 6:21 PM
Both links show how to setup the intitial code and also how to deploy the windows service.
Do I need to select both options when I am writing the code intitally?
i would think that I write the code first and then setup deployment projects when the application is finished.
Would this be correct?
Sukesh MarlaPosted Sep 4, 2012, 11:55 AM
http://www.csharp-examples.net/create-windows-service/
http://www.dotnetfunda.com/articles/article1095-creating-a-windows-service-using-csharp.aspx
Dont hesitate to ask
Check this is correct answer if it helped