Enyim.Caching için memcached istemcisi C# ile çalışıyorum.Memcached içinde karmaşık bir nesne depolanamıyor
MemcachedClient mc = new MemcachedClient();
XmlDocument xmlDocument = new XmlDocument();
mc.Store(StoreMode.Set, "foo", xmlDocument);
object myXml= mc.Get("foo");
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org ve xxx xzxx xzxx
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org
http://memcached.org xz x Amaç: HttpCache'yi Memcached için kodumda değiştirmeye çalışıyorum ama HttpCache ile önbelleğe karmaşık nesne ekleyebilirim.
Burada XmlDocument bir örnektir fakat basit bir sınıfla birlikte çalışmıyor
Kullandığınız memcache yapısı nedir? Pencerelerde [this] (http://www.couchbase.com/products-and-services/memcached) kullanmanızı öneririm. – Dasun
Ubuntu ile http://memcached.org adresinde çalışıyorum ve tüm sunucumu değiştirmeden önce, çözümünüzle karmaşık nesne depolayabileceğimi onaylayabilir misiniz? –
'XmlDocument' ikili' [Serializable] 'olarak görünmüyor. XML'in dize gösterimini kullanın, yani xmlDocument.OuterXml'. –