The method always returns false, and I do not know where the problem is:
var myObj = new MyObj("Key01","My Value ");
bool isInserted = memCache.Store(Enyim.Caching.Memcached.StoreMode.Add, myObj.Id, myObj.name , new TimeSpan(0, 10, 0));
My File app.config: (pointing to Amazon ElastiCache)
<configuration>
<configSections>
<sectionGroup name="enyim.com">
<section name="memcached" type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<enyim.com>
<memcached>
<servers>
<!-- put your own server(s) here-->
<add address="memCashed.*****.0015.usw2.cache.amazonaws.com" port="11211" />
</servers>
<socketPool minPoolSize="100" maxPoolSize="1000" connectionTimeout="00:10:10" deadTimeout="00:02:00" />
</memcached>
</enyim.com>
</configuration>
By choosing the default security group, you will have prevented network access to your cache clusters unless you have already added an EC2 security group to your default cache security group.
The managing security groups documentation has detailed steps for Authorizing Network Access to an Amazon EC2 Security Group via the AWS console, API, or CLI. You will want to add the same EC2 security group that the instance running your application uses.
From the AWS Console: