Hi,
We've a relatively mature website using Castle's ActiveRecord for it's persistance pattern (along with nHiberante). We've been using single node caching and so could rely on the built in ASP.Net cache and simply use ActiveRecord's Cache tag on our entities ([ActiveRecord(Cache = CacheEnum.ReadWrite)]
). This works fine, and NHProf has confirmed that we're hitting the 2nd level cache.
We're now pregressing to x-Nodes and need a cache that can sync across multiple nodes. We're trialling nCache, and I've got it setup (perfmon counters shows test cache additions are successful). However after modifying the web.config and adding references to my app (for the config section) all seems well.
However the perf counters aren't moving as I move throguh the site. All the docs mention individual
<ncache><class></class></ncache>
settings for each and every class to be cached. Obviously I'd liek the ActiveRecord markup to be used for this.
And finally to the question - anyone know if NCache uses the ActiveRecord cache tags or do I have to use the web.config to specify cacheing strategy ? I really want to use the ActiveRecord tags....