posts - 4237, comments - 3946, trackbacks - 370


This was my personal weblog originally hosted by UgiDotNet, written mostly in Italian.

This blog is now part of my new site:
These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employers.

Licenza Creative Commons

Tag Cloud


Post Categories

Il Caching di Enterprise Library non è così AppDomain safe come dicono?

Sembrerebbe così... il caching non l'ho ancora usato, ma questa cosa me la segno...

Although the documentations says that CacheManager is safe to use in a single AppDomain - this is not quite true.

The problem is that the CacheManager is instanced by the CacheFactory. And the problem is that we need to INSTANCE the CacheFactory (WHY???).

Meaning if you don't keep a single instance of your CacheFactory. You will end up having two or more CacheMangers in memory, thus each CacheManager has its own Hashtable. Thus CHAOS.


Print | posted on giovedì 3 marzo 2005 12:44 |

Comments have been closed on this topic.