G
Grant Merwitz
Hi
I am trying to Cache an Object that inherits from CollectionBase.
My logic here, is when the Object is instantiated, try retrieve its data out
the Cache, if its null, retrieve the data from its source (Xml file).
Now i'm not sure what to Cache, or what to retrieve.
I've tried
this.InnerList = HttpContext.Current.Cache["MyCacheName"];
But as this InnerList is read-only, i cannot so this.
So:
What should i Cache/Retrieve to get this working
TIA
I am trying to Cache an Object that inherits from CollectionBase.
My logic here, is when the Object is instantiated, try retrieve its data out
the Cache, if its null, retrieve the data from its source (Xml file).
Now i'm not sure what to Cache, or what to retrieve.
I've tried
this.InnerList = HttpContext.Current.Cache["MyCacheName"];
But as this InnerList is read-only, i cannot so this.
So:
What should i Cache/Retrieve to get this working
TIA