Architecture of Windows Services

Team-Fly    

Developing XML Web Services and Server Components with Visual C#™ .NET and the .NET Framework, Exam Cram™ 2 (Exam 70-320)
By Amit Kalani, Priti Kalani

Table of Contents
Chapter 7.  Windows Services


As shown in Figure 7.1, the Windows services architecture has five main components.

Figure 7.1. The Service Control Manager provides a unified way to control, configure, and access Windows services.

graphics/07fig01.gif

These components are as follows:

  • Windows service database This database is a part of the Windows Registry and stores information about all installed services, including the path to the executable file for the service, as well as security and startup settings.

  • Service Control Manager This is a Windows component that maintains the Windows service database and provides a unified way to control, configure, and access these services.

  • Windows service installer A Windows service installer uses the SCM to install, uninstall, and repair a Windows service.

  • Windows services in execution Windows services can be started automatically when Windows starts, or they can be started manually. When a Windows service is started, it continues to run until it receives a Pause message or a Stop message. When a Windows service is paused, the process for the Windows service continues to exist, but the service does not respond to client programs. On the other hand, when a Windows service is stopped, its process is terminated and the memory is reclaimed.

  • Windows Service Controller This Windows component uses the SCM to start, stop, pause, resume, query, install, uninstall, or modify a Windows service.


    Team-Fly    
    Top


    MCAD Developing XML Web Services and Server Components with Visual C#. NET and the. NET Framework Exam Cram 2 (Exam Cram 70-320)
    Managing Globally with Information Technology
    ISBN: 789728974
    EAN: 2147483647
    Year: 2002
    Pages: 179

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net