OT: System.Web.Caching

OT: System.Web.Caching

Old forum URL: forums.lhotka.net/forums/t/2539.aspx


ajj3085 posted on Friday, March 16, 2007

Hi,

I'm trying to use the System.Web.Caching.Cache object, as described in this thread. I'm on .Net 2, so according to MSDN docs I should be able to use this in WinForms..

I can create the Cache object fine, but when I try Cache[ "MyItem" ] = object, I get a NullReferenceException.

Anyone know whats going on with that?
I'm creating the Cache object and storing a static reference to it so that it can be accessed from many assemblies within the same application.

Andy

Copyright (c) Marimer LLC