[OutputCache] for a function in .net 4
- by HasanGursoy
Hi,
I read at Scottgu blog about using OutputCache for a function but this didn't worked for me. How can I use [OutputCache(Duration=60)] for a function and can I add VaryByParam in this statement? Which namespace is required?