Introduction
Understanding Windows Services
Architecture of Windows Services
Windows Service Database
Service Control Manager (SCM)
Windows Service Installer
Windows Services in Execution
Windows Service Controller Program
The FCL Support for Windows Services
Creating a Windows Service Application
The System.ServiceProcess.ServiceBase Class
Understanding How the SCM Interacts with a Windows Service
Creating the OrderService Application
Installing a Windows Service
The ServiceProcessInstaller and the ServiceInstaller Classes
Adding Installer Classes to a Windows Service Project
Using Installer Tool (installutil.exe) to Install a Windows Service Application
Starting and Testing a Windows Service
Using Tools to Monitor and Control a Windows Service
Using the Services MMC Snap-in
Using Visual Studio .NET Server Explorer
Using the NET Utility (net.exe)
Using the Service Control Utility (sc.exe)
Controlling a Windows Service
The ServiceController Class
Creating a Windows Service Controller Application
Chapter Summary
Apply Your Knowledge