CacheDuration attribute in Web Service
This attribute specifies the length of time in seconds that the method should cache the results.
For example,
Code:
[WebMethod(CacheDuration=30)] //Here 30 is seconds
public int add(int a, int b)
{
return a + b;
}
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!