To get started creating XML Web services using ASP.NET, look at the WebService class, which XML Web services can derive from to get access to the ASP.NET intrinsics and the WebMethodAttribute class, which must be placed on any method that you want to programmatically expose over the Web.
|WebMethodAttribute||Adding this attribute to a method within an XML Web service created using ASP.NET makes the method callable from remote Web clients. This class cannot be inherited.|
|WebService||Defines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state.|
|WebServiceAttribute||Used to add additional information to an XML Web service, such as a string describing its functionality.|
|WebServiceBindingAttribute||Declares a binding that defines one or more XML Web service methods. This class cannot be inherited.|