Using the Web Services in a Client Application

Now that you're familiar with Web Services, you can write a simple Web application that uses Web Services. The rest of this section is dedicated to the steps required to build this example.

Developing a Web Application client

You will use a Web application with one page to create a client for your service. Create a new ASP.NET Web application using the wizard and adding it to the solution (rather than creating it as a separate solution). You can do this by checking the Add to Solution radio button on the New Project dialog.

On the Web page design add two labels, a text box and a button, as shown in Figure 37.9. You will use the text box to allow the user to enter the resource name and the second ...

Get Visual Basic® .NET by Example 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.