Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Library "Enyim.Caching.dll", Data is not stored in memcached #413

Closed
GoogleCodeExporter opened this issue Nov 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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


Original issue reported on code.google.com by arbind.s...@v2solutions.com on 27 May 2015 at 2:15

@GoogleCodeExporter
Copy link
Author

please don't use the bug tracker for support. I don't know why offhand that 
doesn't work though, sorry.

Original comment by dorma...@rydia.net on 5 Jul 2015 at 12:50

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant