Is it possible to cache data in a method of a business object in an ASP.NET application. I am trying to use the Cache object in a method of one of my business object, but I am getting a syntax error. When I try to build the project, VS.NET 2003 doesn't recognize "Cache". I tried adding:
using System.Web.Caching
but VS.NET doesn't recognize that namespace. Can I only use the Cache object in an aspx file?
Chris McCandless
Red Sky Software