Information générale
Catégorie:
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement