Serialize objects for use with memcache
Posted: Mon 29 Aug 2011 17:23
Hi,
I want use memcache in a site. to use it I need to serialize objects.
I serialized domain objects, but I have this error now:
Enyim.Caching.MemcachedClient - System.Runtime.Serialization.SerializationException: The type 'Devart.Data.Linq.a' in assembly 'Devart.Data.Linq, Version=2.50.29.0, Culture=neutral, PublicKeyToken=09af7300eec23701' is not marked as serializable.
With this object I can't serialize my objects.
How can I make internal types of devart serializable?
thanks to all
I want use memcache in a site. to use it I need to serialize objects.
I serialized domain objects, but I have this error now:
Enyim.Caching.MemcachedClient - System.Runtime.Serialization.SerializationException: The type 'Devart.Data.Linq.a' in assembly 'Devart.Data.Linq, Version=2.50.29.0, Culture=neutral, PublicKeyToken=09af7300eec23701' is not marked as serializable.
With this object I can't serialize my objects.
How can I make internal types of devart serializable?
thanks to all