
514 Chapter 10 • Developing Web Applications
the server. Because we are exposing a Web method on the server that returns the
orders for a Customer ID, we can create a distributed Windows application that
consumes this Web service.
Exercise 10.10 Consuming Web
Services from Windows Forms
In this exercise, we create a Windows form that consumes our Web service and
provides the same functionality as the Web form.
1. Create a new Windows application project by clicking File | New |
Project and selecting Windows Application under Visual Basic
Projects.
2. Change the application name to Chapter10WindowsApplication.
Click OK for Visual Studio to create the pr ...