Windows Services

A Windows Service is an application that runs as a background process independent of the currently logged on user. Services are supported on Windows NT, Windows 2000, and Windows XP.

The life cycle and runtime configuration of a service is controlled by a component of Windows called the Service Control Manager (SCM) based on configuration information held in the Windows registry. The SCM also controls how other programs can interact with the service.

Service development and deployment are straightforward but lack the elegant simplicity of many aspects of .NET. The complexity stems from the necessity to install the service instead of simply running it like a normal assembly.

The creation of a service involves the development of the ...

Get C# for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.