AWS ElastiCache c# error


Staff member
I haven't been able to find many decent examples of how to use AWS Elasticache from c#.

<a href="" rel="nofollow"></a> suggested the BeIT library, which I am trying.

Here's my code so far:

        string memCachedUrl = "";
        MemcachedClient.Setup("mycache", new string[] { memCachedUrl });
        MemcachedClient cache = MemcachedClient.GetInstance("mycache");

        aData n = new aData();

and the error I get is:

29/05/2013 9:52:19 AM ERROR BeIT.MemCached.SocketPool - Error connecting to: 54. 
The operation completed successfully
at BeIT.MemCached.PooledSocket..ctor(SocketPool socketPool, IPEndPoint endPoint, Int32 endReceiveTimeout, Int32 connectTimeout) in l:\Projects\BeITMemcached
\ClientLibrary\PooledSocket.cs:line 63 
at BeIT.MemCached.SocketPool.Acquire() in l:\Projects\BeITMemcached\ClientLibrary\SocketPool.cs:line 151

what am I doing wrong?
Is there any good sample c# code anywhere?


I was trying to call this from outside AWS - apparently this is not possible