Information générale
Catégorie:
The Mere Mortals .NET Framework
>Never mind. It just dawned on me that the business object couldn't be used in a Windows Forms project if I was trying to do Web Forms caching in the business object.
>
>>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?
Yeah. You can cache stuff from ASP.NET in SQL Server, if you want.
That might work.
Morgan
Précédent
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