Windows Service Applications
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Windows Service Applications

Using Microsoft Visual Studio or the Microsoft .NET Framework SDK, you can easily create services by creating an application that is installed as a service. This type of application is called a Windows Service. With framework features, you can create services, install them, and start, stop, and otherwise control their behavior.


The Windows Service template and associated functionality is not available in the Standard Edition of Visual Studio.

Introduction to Windows Service Applications

Provides an overview of Windows Service applications, the lifetime of a service, and how service applications differ from other common project types.

Walkthrough: Creating a Windows Service Application in the Component Designer

Provides an example of creating a service in Visual Basic and Visual C#.

Service Application Programming Architecture

Explains the language elements used in service programming.

How to: Create Windows Services

Describes the process of creating and configuring Windows services using the Windows Service project template.


Describes the major features of the ServiceBase class, which is used to create services.


Describes the features of the ServiceProcessInstaller class, which is used along with the ServiceInstaller class to install and uninstall your services.


Describes the features of the ServiceInstaller class, which is used along with the ServiceProcessInstaller class to install and uninstall your service.

Monitoring Windows Services

Describes how to use the ServiceController component to interact with existing services.

Default Project Templates in Visual Studio

Describes the projects types used in this chapter and how to choose between them.

Deploying Applications and Components

Lists the major pages about deployment and the information they contain.

© 2016 Microsoft