caching-application-block

Caching Application Block Error

Hi, Has anyone seen this error before? An error occurred creating the configuration section handler for cachingConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest defin...

SQLite and Caching Application Block

Hi, Has anyone used the Caching Application Block with SQLite to persist data? I'd like to get some details. Thanks ...

How to flush all caches in process for EntLib Caching

I'd like to know if there is a way to tell the Enterprise Library Caching objects to flush all configured caches for that process to flush. Even enumerating through all of the configured caches for that process, and manually flushing each one, is ok, but is there an API method from EntLib.Caching that will give me those values? Or do I...

Clear another application isolated storage

Application1 uses Microsoft Enterprise Library Caching Application Block with IsolatedStorageBackingStore to cache data from database accessed by Internet. The task is to create another Application2 (helper application like "Adobe Flash Player uninstaller") which will be able to clear Application1 cache (this will be one of many Applicat...

Programmatically configure an EntLib CAB CacheManager

Currently I'm having to include a significant chunk of XML in the app.config to get the CAB CacheManager going and I'd rather hide the configuration away in my code. Is there any way to programmatically configure an Enterprise Library Caching Application Block's CacheManager? ...

Different applications using the same IsolatedBackingStore

I am using the entlib's Caching Application Block with isolated storage. I want different instances of the same application to use the same backing store. Currently, the second instance of my app reads from the backing store when it starts up, so items that have already been cached are read. However, when either instance cahces a new it...

Cannot Access Closed Stream

I'm trying to use the Caching Application Block to cache some images (these images take a long time to render) BitmapSource bitmapSource; ///some bitmap source already created _cache /// Caching Application Block String someId; //id for this image, used as the key for the cache using (var stream = new MemoryStream()) { ...

disable Enterprise Library Caching Application Block

We're using the Enterprise Library Caching Application Block to do caching (in memory) in our web service. Works great, no complaints. We're starting to do some load testing, and I've been asked to disable the cache so we can get some relative idea of what kind of performance gain caching gives us. I thought this would be simple - it ...