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 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.