How to cache method results in .Net

Posted by SP on Stack Overflow See other posts from Stack Overflow or by SP
Published on 2010-05-05T00:17:28Z Indexed on 2010/05/05 0:28 UTC
Read the original article Hit count: 485

Filed under:
|
|

Using webmethods, caching the results is pretty straight forward using "CacheDuration" attribute. Is there a similar "easy" way to cache non-webmethod outputs (or static methods) based on the parameters?

I would appreciate any help. Thanks in advance!

© Stack Overflow or respective owner

Related posts about .NET

Related posts about cache