Summary

This chapter introduced you to Windows Services and console applications. These are powerful classes of applications that can be written natively by VB developers for the first time. The examples in this chapter were rather simplistic; in the Windows service, you might want the data logged to a database instead of a flat file, for example.

The programming models for services and console applications are quite simple. However, when working with Windows services, there are a number of caveats. Debugging is one of the major differences between these services and most other projects, of course. In addition, don't forget to avoid any kind of UI, and have very thorough error handling.

Console applications are very simple, but useful for very ...

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.