General Procedure
  1. Create your data store as normal
  2. Create instance of prefered cache mechanism
  3. Call constructor on TypeParser with new Cache

Use Memcachedd
  1. Reference Enyim.Caching
  2. Reference Dataaccess.MemcachedD
  3. Add entires to *.config per enyim instructions https://github.com/enyim/EnyimMemcached/wiki/MemcachedClient-Configuration3
  4. Switch provider (dstore.TypeInformationParser = new TypeParser(dstore, new MemcachedProvider<Type, TypeInfo>(new TimeSpan(1, 0, 0), "Bucket", "Password"));)

I will likely change the syntax required for this in a future release

Last edited Jul 23, 2011 at 2:45 AM by iamkrillin, version 1

Comments

No comments yet.