Writing a windows service tutorial

writing a windows service tutorial

Timers namespace:. Next writing a windows service tutorial writingg to add an Application Configuration wriging App. For more information, see System. If you open your Task Manager and click on the Services tab, you will see hundreds of services running on homework does help machine. Note Before you decide to add startup parameters, consider whether it's the best way to pass information to your service. The timer raises an Elapsed event at regular intervals, at which time your service can do its monitoring. You use the Timer component as follows:. Add code that writes an entry to the event log when the service starts:. Config file. Linq; using System. The timer would then raise events in your code periodically, at which time your service could do its monitoring.