Tuesday, August 24, 2010
NCache 3.8 Service Pack 1 (SP1) contains important fixes and enhancements. The most important and demanded feature added in this release is the support of .Net frame work 4.0 The API is completely compatible with the 3.8 release version and applications can upgrade without re-building/re-compiling the application.
Following are some enhancements made in this release:
The code base of NCache cache server has been converted to .NET 4.0 and the NCache client is available in both .NET 2.0 and 4.0 versions.
There is an improvement in client cache management through NCache Manager where project files will contact to client nodes on refresh option and this has improved fast loading of NCache Manger project file.
We have resolved this issue by copying all the assemblies in the NCache bin/assembly folder and now Visual Studio does not have to locate the dependent assemblies in GAC. This has resolved the issue.
NCache samples are now builded with visual studio 2008.
VeriSign issue, default in service configuration file should be
generatePublisherEvidence enabled ="false"/>
. The enhancement is made.
ReadThru provider interface signature has been modified to support maximum features of NCache. There is new structure introduced under the namespace “Alachisoft.NCache.Runtime.Caching” called ProviderCacheItem which is similarly to the CacheItem. You can now easily specify expirations, tags, eviction hints, dependencies etc.
New interfaces
<p>public void LoadFromSource(string key, out ProviderCacheItem cacheItem)</p>
<p>public Dictionary LoadFromSource(string[] keys)</p>
Now, you can specify IsResyncExpiredItem property in Cache Loader so that the expired items can be reloaded automatically.
NCache is not supporting the latest version of NHibernate 2.1.2. We have also added region support in this release. NHibernate sample application is also modified with NHibernate regions support.