General information
Category:
The Mere Mortals .NET Framework
>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?
You will need to check the references for that Business class, and make sure there is System.Web reference in the References.
Morgan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only