Prev Next
Answers (1)
SWEETY Mar 13, 2021 08:40
Answer:   WebMethods make the development of XML Web Services easier by encapsulating a good deal of functionality. Attaching the WebMethod attribute to a Public method indicates that you want the method exposed as part of the XML Web service. You can also use the properties of this attribute to further configure the behavior of the XML Web service method. The WebMethod attribute is added to each method we want to expose as a Web Service. ASP.NET makes it possible to map traditional methods to Web Service operations through the System.Web.Services.WebMethod attribute and it supports a number of properties that control the behavior of the methods.
The following properties are available.
CacheDuration
Description
EnableSession
MessageName
TransactionOption
BufferResponse

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect