This project is read-only.

How to use

Feb 6, 2008 at 8:58 PM
If you were using this in code would you just use the current caching syntax and such? Also for session variables would you recommend staying away from them? Or does the provider take care of the session state also?

Feb 6, 2008 at 11:01 PM
Well as far as the session is concern, you won't be making any changes. Session object is still valid. However to use memcached cache provider you will have to add a reference to provider assembly and use DistCache object instead because's Cache is not implemented as a provider and all Cache classes are sealed.

For example to add a object to cache you will use DistCache.Add(key, object, TimeSpan);. I am working on the documentation for Cache Provider.
Previously, I was using this article as documentation. But since then memcached client has changed and I have added more methods to the providers.
But this documentation is still valid except there is no need to add Shutdown() method to Global.asax.