O'Reilly logo

Programming Windows® Services with Microsoft® Visual Basic® 2008 by Michael Gernaey

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

Service Validation

To test the service, we need to connect to the service and call each of the processing methods to see what we get back. For this reason, I have created a client that can use the functionality of the service, whether it is remote or local. The important thing to realize is that we haven’t yet implemented any type of authentication in the service, which means that anyone who has access to the server remotely would have access to call the functionality of the service. We will work on this in later chapters.

The Test Client

I have created a test client that looks like this and can be used to demonstrate the functionality of the service on any given port.

The code, which appears in Example 10-9, is very simple, but shows how easily ...

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