O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Windows Services

Terms you'll need to understand:

  • Windows service

  • The ServiceBase class

  • The ServiceProcessInstaller class

  • The ServiceInstaller class

  • The ServiceController class

Techniques you'll need to master:

  • Creating a Windows service

  • Installing a Windows service

  • Connecting to a Windows service and issuing messages such as start, stop, pause, and continue

  • Querying a Windows service to retrieve its status

Introduction

Many applications, such as email servers and print spoolers, need to continuously run in the background. In Windows, such applications are called as a Windows service. In this chapter, you learn how to use the .NET Framework class libraries to create and use Windows services.

Understanding Windows Services

A Windows service is a process ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required