Using attributes to cache a method's return results in c#
Posted
by SP
on Stack Overflow
See other posts from Stack Overflow
or by SP
Published on 2010-05-05T02:01:43Z
Indexed on
2010/05/05
2:08 UTC
Read the original article
Hit count: 307
In webmethods, it is very simple to implement caching by annotating [WebMethod(CacheDuration...] attribute. Can we create something similar for non-webmethods, such as Static methods?
Any help/tip is appreciated. Thanks in advance.
© Stack Overflow or respective owner