Caching samples & SQLCacheDependency

Posts   
 
    
pat
User
Posts: 215
Joined: 02-Mar-2006
# Posted on: 26-Sep-2007 05:46:06   

Hi,

I would be very interested in some (code) samples of using caching with LLBLGen:

  • Caching and retrieving whole tables is pretty straight forward but it gets more complicated when caching and retrieving subsets of data e.g. two independent parts of the application try to get the same customer within 2 seconds of each other for display purposes. It would be good if the second request would be served from the cache

  • Ideas of how to do caching with semi transparent, generic and reusable code.

  • Experiences with using the EntLib caching application block.

  • Using SQLCacheDependency to keep the cached entities up to date

  • Using caching for scenarios with disconnected / off line clients

Thank you, simple_smile Patrick

PS: Here is another threads about caching by the way (but without samples): http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=5710