Administration of Services

Services usually require some sort of configuration to make them do what you have coded them to do, which will vary from service to service. You will seldom see—and you should never create—services that require recoding each time you want to modify something that should have been configurable.

You can configure a service in several ways. You are only limited by being able to expose that administrative capability to external users. Imagine you wrote a service that downloaded files from different sources and placed them in a different location. This type of activity is quite common, especially between the extranet and the intranet.

When writing such a service, you should take into account whether it should be single-threaded ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 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.