Enterprise Library Caching in ASP.NET

Topics: Caching Application Block
Sep 14, 2009 at 6:11 AM

Hi All

 We are developing a new ASP.NET application and currently in process to design caching for our application

 What we want is very simple, we want some predefined data values to be cached at application startup this data will be common and will be shared among all the users of app. The Admin should have facility to refresh or flush cache.

  

I have few questions regarding enterprise library

  1. In case of in memory caching - Where the data is cached (in server memory/on client memory)
  2. In case of persisted Storage - Where the data is cached (in server HDD/on client HDD)
  3. Cache is created separately for each user or is shared among all the users.
Sep 14, 2009 at 7:35 AM

Hi,

For the question 1 and 2, I just want to confirm if the "client" that you are referring are the end users of the app? For your question 3, the cache that is created is global meaning that they are shared among all users.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com

Sep 14, 2009 at 7:47 AM

Thanks AvanadeSupport for Prompt reply

Yes Client means Endusers Machine.

We wanted that cache should be created in Server Memory/HDD, so it can be shared among the different users

Sep 14, 2009 at 8:27 AM

So the answer would be yes, for the in memory caching the server memory will be used. Same goes for the persisted storage the server HDD will be used.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com