Giter Club home page Giter Club logo

memcached-providers's People

Contributors

enyim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

memcached-providers's Issues

Not working for ASP.Net 4.5 session state server

I set up a local memcached server on a Windows 7 Pro development machine. I haven't been able to get the session state working at all. I have a sample project with just a default.aspx page that increments an int value every time it loads. It always comes up zero. I can't attach it here, but I can email it somewhere if it would help.

I'm sure I'm just missing something in the config - Note, I'm using the DefaultClientFactory because I'm using enyim memcached, not membase (maybe that's the problem?)

How to choose different membase section in Enyim MemcachedProviders?

I'm using Enyim MemcachedProviders and register the following config in my web.config file:

<sessionState customProvider="Memcached" mode="Custom">
  <providers>
    <add name="Memcached"
         type="Enyim.Caching.Web.MembaseSessionStateProvider, Enyim.Caching.Web" />
  </providers>
</sessionState>

Is it possible to choose different membase section in the session-state provider? I would like to choose different vBucket as my session store.

System.ArgumentException: Keys cannot contain the chars 0x00-0x20 and space.

When using the Memcached output provider, and enabling static file output caching in IIS, I wind up getting a lot of exceptions like this, for simple files that should 404. Ex. bots will request content with bad characters in it, and instead of returning a 404, the server winds up returning a 500.

Any ideas for a good workaround for this? I understand if memcached is limited in the characters it might accept for keys, but it seems to me like perhaps the outputcache provider's "Get" implementation might be better served to return the fact that it doesn't have content for that key, rather than throwing an exception. But, perhaps there are ramifications I'm not considering.

Thanks,
Tom

System.ArgumentException: Keys cannot contain the chars 0x00-0x20 and space.
   at Enyim.Caching.Memcached.DefaultKeyTransformer.Transform(String key) in d:\Dropbox\repo\EnyimMemcached\Enyim.Caching\Memcached\KeyTransformers\DefaultKeyTransformer.cs:line 22
   at Membase.MembaseClient.PerformTryGet(String key, UInt64& cas, Object& value) in d:\Dropbox\repo\EnyimMemcached\Membase\MembaseClient.cs:line 85
   at Enyim.Caching.MemcachedClient.TryGet(String key, Object& value) in d:\Dropbox\repo\EnyimMemcached\Enyim.Caching\MemcachedClient.cs:line 132
   at Enyim.Caching.MemcachedClient.Get(String key) in d:\Dropbox\repo\EnyimMemcached\Enyim.Caching\MemcachedClient.cs:line 107
   at System.Web.Caching.OutputCache.Get(String key)
   at System.Web.Caching.OutputCacheModule.OnEnter(Object source, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

MembaseOutputCacheProvider

I see MemcachedOutputCacheProvider, but how would we accomplish the same with membase? Is that supported?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.