Creating Your First Web Service

Currency conversion is a common activity needed by Web applications. Because of the global nature of the Web, you can browse stores anywhere in the world. Normally, of course, those stores show prices in their local currency. You might need to convert these values into your local currency. In this section, you'll build the basis for a currency conversion Web service.

Open Visual Studio .NET. Create a new Visual Basic project of the type ASP.NET Web Service. Name the project CurrencyConverter and make sure that the server on which you create the project is a Web server running IIS 4.0 or higher and the .NET Framework.

After the project is loaded, you have a blank designer, much like you have seen before. If you ...

Get A Programmer's Introduction to Visual Basic® .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.