O'Reilly logo

Microsoft® Visual Web Developer™ 2008 Express Edition Step by Step by Eric Griffin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Web Service

Now that you can upload files to the server, you need a way to see and download the files that have been uploaded. You use a Web service to accomplish it. The Web service enumerates the number of files located on the server and provides a list you can display in the MyDocuments section of the personal portal. The list will be links that, when clicked, will download the file.

To add a Web service to the project

  1. Right-click the personal portal project in Solution Explorer. Select Add New Item.

    The Add New dialog box displays.

  2. Select Web Service from the Templates list and type MyDocuments.asmx in the Name text box. (See Figure 12-9.)

    Figure 12-9. Add New Item dialog box.

  3. Click Add.

    Two objects are added to the personal portal project: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required