O'Reilly logo

Microsoft® Visual J#™ .NET (Core Reference) by John/Longshaw, Andy Sharp

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

Writing a Windows Service

You can use the classes in the System.ServiceProcess namespace to create new non–device driver services. (If you want to create a device driver service, you must resort to the Microsoft Windows Driver Development Kit [DDK].) When you develop a service, you must also create a service installer that can be used to configure the service and create the appropriate Windows Registry keys. In this section, we’ll create a simple service called CakeService. This service will act as a remoting server that hosts the CakeUtils.CakeInfo class that we developed in Chapter 11. The CakeInfo class exposes the FeedsHowMany method, and we’ll test the service by creating a remoting client that invokes this method in the CakeService service. ...

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