views:

15

answers:

0

I'm using the following attribute on a web method in a web service:

[WebMethod(CacheDuration = 60)]

Is it possible to make the CacheDuration value of 60 configurable from a web.config setting?
Or is there another was to set CacheDuration not using an attribute?