Simple caching question

  • Thread starter Thread starter Jim Owen
  • Start date Start date
J

Jim Owen

I know how to use the cache, but in VB.Net I don't know how to be able to
get at it. When I type
Cache("MyKey")
it complains that Cache is not declared. What namespace do I need to import?
According to the help, it's System.Web.Caching, but that isn't a valid
namespace. I can get System.Web, but then the only names available after Web
are "AspNetHosting" things, so I can't import Caching because it's not
available. What am I missing here?
 
Make sure that you are referencing System.Web.dll
System.Web.Caching lives in System.Web.dll

Vladimir [VB.Net team]


--------------------
 
Back
Top