Understanding Windows Services

As you know, Windows Services can run when Windows starts, even if no one logs in. These applications have no user interface and run in the background, independent of any user. They “log in” as the service account or as a specific user, which means they can run under the security context of a specific user, regardless of who is logged in.

Windows Services are unique in several ways. You cannot debug a service by starting it within the IDE because you must install it first so that Windows can manage it. You will see how to debug it later.

You had to add installers to this project, something you have not had to do in any other project. This, again, is because the service must be installed so that Windows can handle ...

Get A Programmer's Introduction to Visual Basic® .NET 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.