1. Start Visual Studio .NET
2. Select “File->New Project”
Remember, this could very easily be a Visual Basic project. I’m using C# because that’s
what I’m familiar with. The only things that change if this were Visual Basic is the
syntax of the code you write in step 7 (below).
3. Select the “Visual C# Projects” in the Project Types area.
4. Select the “ASP.NET Web Service” icon and click OK
Once selected, all of the project files are automatically generated in Internet Information
Server.
5. Right-click on the “Service1.asmx” file in the Solution Explorer and click “View
Code”:
6. In the Code Window, scroll to the bottom, and delete all the green, commented
code:
7. Once the old code is deleted, add the following code after the “Component
Designer generated code” region:
8. In the main Visual Studio .NET menu, select “Build->Run”.
Visual Studio .NET creates a test harness Web page for you to try out your application.
9. In the resulting Internet Explorer window, click on the GetMyName hyperlink.
10. In the resulting window, click on the Invoke method.
11. The result is an XML “blob” with the name “Prozac” in it.

