In the .NET Framework, you can find service classes in the System. Service Process namespace that implement the three parts of a service:
¤ You must inherit from the Service Base class to implement a service. The Service Base class is used to register the service and to answer start and stop requests.
¤ The Service Controller class is used to implement a service control program. With this class, you can send requests to services.
¤ The Service Process installer and Service installer classes are, as their names suggest, classes TV install and configure service programs.
Now you are ready to create a new service