Questions tagged [caching-application-block]

13 questions
10
votes
2 answers

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…
moogs
  • 8,122
  • 8
  • 44
  • 60
4
votes
1 answer

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…
Jason
  • 86,222
  • 15
  • 131
  • 146
4
votes
2 answers

enterprise library cache to local database

I'm trying to find out if it is possible to use the entlib caching block to cache to a local db (SQL Server Compact 3.5 database), however I can't any tutorials or examples for this; only for MSSQL Server. I'm having a lot of problems with the…
3
votes
1 answer

How do I clear the isolated storage of another application?

Application1 uses Microsoft Enterprise Library Caching Application Block with IsolatedStorageBackingStore to cache data from a database accessed by Internet. The task is to create another Application2 (helper application like "Adobe Flash Player…
Kluyg
  • 5,119
  • 2
  • 25
  • 28
2
votes
2 answers

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…
slolife
  • 19,520
  • 20
  • 78
  • 121
1
vote
1 answer

Using Enterprise Library Caching Application Block in Silverlight

I have downloaded the patterns & practices Silverlight Integration Pack to use caching (Caching Application Block) in my Silverlight Application, but i tried and tried and didn't get it to work. I did not find any useful example - does anyone have…
Gerwald
  • 1,549
  • 2
  • 18
  • 42
1
vote
1 answer

How to use caching in applicationstart phase?

I am really confused to use caching. In ASP.NET Cache the cache object is global so as I understand we can reach it everywhere. But when I looked at the caching application block how can I use a cache that I created on the application_start phase.…
Barış Velioğlu
  • 5,709
  • 15
  • 59
  • 105
1
vote
1 answer

Caching Application Block crashing IIS

I'm having an issue with my Dev environment where any calls to the Caching Application Block's CacheFactory cause IIS to crash. I've created a very simple web application that causes IIS to crash every time I try to run it, but yet the application…
rsbarro
  • 27,021
  • 9
  • 71
  • 75
1
vote
1 answer

Use ASP.NET MVC Unity for Data Caching

I have a ASP.Net MVC project running on .NET 4.6.1 Framework. I have recently added Unity.Mvc 5 IoC framework for dependency injection In order to have flexibility for unit testing and other, I moved my Unity Configuration to a separate class…
1
vote
2 answers

Caching Application Block Error

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,…
Saif Khan
  • 18,402
  • 29
  • 102
  • 147
1
vote
1 answer

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…
urig
  • 16,016
  • 26
  • 115
  • 184
0
votes
0 answers

Cache file getting corrupted during abrupt power shutdown

We are using microsoft enterprise caching library 5.0.414.0 version for caching some DB data to Isolated storage After abrupt power shutdown of the system, we are facing that reading cache is failing. To be…
0
votes
1 answer

SQLite and Caching Application Block

Has anyone used the Caching Application Block with SQLite to persist data? I'd like to get some details. Thanks
Saif Khan
  • 18,402
  • 29
  • 102
  • 147