Articles → .NET WINDOWS SERVICE → Basic Example of Windows Service in .Net

Basic Example of Windows Service in .Net






Objective of this Tutorial













Steps Involved















Step 1: Create a window Service









Click to Enlarge


Step 2: Modify OnStart() method of Windows

Service(If Required)













Step 3: Add the Service Installer to the Windows service













Click to Enlarge




Step 4: Use ‘installutil.exe’ on the command line to install

the service











Click to Enlarge














Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, February 15, 2010
 
Updated On  -  Wednesday, February 26, 2014

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250