Bobstar
8/8/2006 11:32:00 PM
But I'm a bit confused. I've read all about the Caching in patterns and
practices, but somehow I dont quite get it.
I need a way to Cache a DataTable, the DataTable is located in my
businesslayer - and I want to share that DataTable between multiple request
to the application. The DataTable only expires once every midnight and takes
a long time to populate with data, so I need to cache it somehow.
I've tried using HttpContext.Current - but that is'nt applicationwide as I
need it to be. Should I make something i the Application_onstart, and if so -
how do I provide an Expirationpolicy out there? Can I access the
ApplicationCache from my businesslayer and thereby renew the Cache og Remove
it??
Hope you understand what I'm trying to accomplish :-)
Kind regards