Serializing CacheItem through a web service
A CacheItem object defined in the
Microsoft.Practices.EnterpriseLibrary.Caching Namespace does not serialize. Is there a way to serialize a CacheItem?
[347 byte] By [
Hoan] at [2007-12-25]
Hoan,
CacheItem is not serializable.... you would have to create a derived class and make it serializable implementing ISerializable class.
Then to make Caching AB work with this new CacheItem class you may have to create a new CacheManager too.
Rgds
Rodrigo