Distributed object cache for NHibernate

sarah

Member
Joined
Mar 15, 2006
Messages
10
Programming Experience
Beginner
Start using distributed caching in your existing NHibernate based applications without any code change. Download NCache from http://www.alachisoft.com/rp.php?dest=/download.html.
NHibernate only provides a stand-alone cache. However, if your .NET application is running in a server farm then your cache must be distributed in order to avoid data integrity problems in your cache.
NCache provides a second level or process level distributed cache for NHibernate by implementing ICacheProvider and ICache interfaces. You can plug-in NCache to your existing NHibernate application without any code change. Just change your "app.config" file to specify NCache as your "hibernate.cache.provider_class" and you're all set to start using distributed caching.
Read more about NCache
http://www.alachisoft.com/rp.php?dest=/ncache/index.html
 
Last edited:
Back
Top