Part 4 WebMethod attribute properties04:33

  • 0
Published on January 28, 2018

Link for code samples used in the demo

Link for all dot net and sql server video tutorial playlists

In this video, we will discuss different properties of the WebMethod attribute

Description – Use to specify a description for the web service method.

BufferResponse – This is a boolean property. Default is true. When this property is true, the response of the XML Web service method is not returned to the client until either the response is completely serialized or the buffer is full.

On the other hand, when this property is false, the response of the XML Web service method is returned to the client as it is being serialized.

In general, set BufferResponse to false, only when the XML Web service method returns large amounts of data. For smaller amounts of data, web service performance is better when BufferResponse is set to true.

CacheDuration – Use this property, if you want to cache the results of a web service method. This is an integer property, and specifies the number of seconds that the response should be cached. The response is cached for each unique parameter.

https://cafeadobro.ro/

https://www.stagebox.uk/wp-includes/depo10-bonus10/

https://iavec.com.br/

Enjoyed this video?
"No Thanks. Please Close This Box!"