NET - Describe the programming model of a windows service

Describe the programming model of a windows service.

Windows services are based on the class that is inherited from System.ServiceProcess.ServiceBase class. Methods from this class are overridden to provide the functionality as per the user’s requirement.

The important classes involved in service creation are:

1. ServiceBase
2. OnStart
3. OnPause
4. OnStop
5. OnContinue
6. OnShutdown
7. OnCustomCommand
8. OnPowerEvent
9. ServiceProcessInstaller
10. ServiceInstaller
11. ServiceController
NET - Explain the states of a windows service application
Explain the states of a windows service application - running, paused, stopped and pending.......
NET - Explain the types of window services
Explain the types of window services - Win32OwnProcess, Win32ShareProcess......
NET - Explain the steps to create a windows service
Explain the steps to create a windows service - Steps to create a windows service:......
Post your comment