.NET Overview

Placing Attributes

<%@ WebService Language="C#"
Class="ProgWS.HelloWorldService" %>
using System.Web.Services;
namespace ProgWS
{
  public class HelloWorldService: WebService 
  {
    [WebMethod]
    public string HelloWorld()
    {
      return "Hello World";
    }
  }
}

José M. Vidal .

7 of 11