
memcached - issue #413
Using Library "Enyim.Caching.dll", Data is not stored in memcached
Configuration in Web.config
<sectionGroup name="enyim.com"> <section name="memcached" type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching" /> </sectionGroup>
<enyim.com> <memcached> <servers> <add address="::1" port="11211" /> --> <!-- localhost --> <!-- <add address="::1" port="11211" /> --> <!-- localhost --> <!-- </servers> <socketPool minPoolSize="10" maxPoolSize="100" connectionTimeout="00:00:05" deadTimeout="00:02:00" /> </memcached> </enyim.com>
Implementation in C# Code
MemcachedClient client = new MemcachedClient()
if(client.Get<string>("key") !=null) { return "X"; } else { client.Store(StoreMode.set,"key","Test"); return "Y" }
When I debug the code It always goes to else condition.
Let me know if any points i have missed
Thanks Arbind Singh
Comment #1
Posted on Jul 5, 2015 by Helpful Birdplease don't use the bug tracker for support. I don't know why offhand that doesn't work though, sorry.
Status: Invalid
Labels:
Type-Defect
Priority-Medium