Author: Apples | Posted on: 6/25/2008 1:19:20 PM | Views : 286

Basically I need a place to store name/value pairs.  I chose a HashTable because that's what I know.
Anyways, I have a page where I was doing quite a few DB calls every time the page was loaded.  They were mostly to lookup values.  My friend said that I could change it so that every time the page loaded, I can pull the data from the tables I need, store it in a HashTable, and store the data in the Application cache.  Then every other time the page loaded, I could check the Application cache; if there is data there, then use it, otherwise, pull the data into the HashTable and store it in the Application cache.
Unfortunately, I have no idea how to do this.  I've never used cache before...
So if someone could point me in the right direction, I would appreciate it.  Basically I just need to know how to store the data in the HashTable, and put that data in the Application cache (?!?).  Also, I need to know how to check the cach ...

Go to the complete details ...