Our windows service will support two modes
- Interval Mode Executes a task at regular intervals after some delay
- Daly Mode Executes a task at specific time of day
Create New Windows Service Project and Add aap.config file
Add Reference (system.configuration)
Code Your Service
Adding an Installer to the Windows Service and Write Code
Setting the Windows Service Name and StartType
Making the Windows Service Automatically start after Installation
Compile and Install Service
Test Our Window Service
Get Source Code GitHub
No comments:
Post a Comment