views:

162

answers:

1

A little background: I currently make use of Memcached Providers for managing session state in my ASP.NET application. It provides facilities for using SQL Server as a fallback storage mechanism (when sessions need to be purged from the memcached cache). I'd like to look at creating a provider for RavenDB as it would be much more performant for this sort of task.

My question is, has anyone implemented such a thing? (or something similar?) - I'd hate to re-invent the wheel. Google does not yield any helpful results (other than my question about this in the RavenDB group itself), so I thought I'd take this question directly to the Stack Overflow community.

A: 

Not as far as I know. RavenDB is pretty active project and Memcached has been practically dead for 2 yr and remained 32-bit. You might be better off just running RavenDB under IIS

OK, so code-wise it doesn't get smaller than this - single file: http://sourceforge.net/projects/aspnetsessmysql/files/MySqlSessionStateStore.cs/download

ZXX
@ZXX: Thanks for the input, but memcached isn't really the issue here...more generally, I'm asking about creating a session provider for RavenDB. The memcached provider simply offers one example implementation of how this could work.
DanP
So you are actually looking for a reasonably small source code for an ASP.NET session provider talking to some other DB so that you can modify it for RavenDB? Unles you are totally opposed to writing some code :-)
ZXX