Reputation: 1750
Is there an equivalent in ASP.NET to memcached usage in PHP? Is there even a way I could use memcached from the VB code behind, or something like it?
Upvotes: 5
Views: 630
Reputation: 4177
That would be Microsoft Velocity which has now been rolled into Windows Server AppFabric Caching It's not supported officially yet, but it's there. It's essentially (from what I can figure the same concept as Memcached. It's written as a native Windows Serivce, and you can use it as a state server for session. As an easy example of how it plugs nicely into Asp.Net
Also check this post for discussions on getting Memcached binding from C#.
aside? You might also want to look at the all new and shiny NoSql stuff, depending on what you're trying to accomplish obviously. I'm currently playing with RavenDb but I'm not talking about running my enterprise on it... yet
Upvotes: 4
Reputation: 2315
Memcached works well with .net too, but equivalent would be Velocity
Upvotes: 3
Reputation: 401182
memcached is a daemon, totally independant from PHP -- must be writtent in C/C++
It can be used from any language -- only condition is you'll need a library to communicate with it (and there are some in lots of languages)
For libraries, you can take a look at this page of memcached's wiki : Clients.
Yes, it's often associated with PHP, but PHP is absolutly not a necessity -- I would say that association is often made for at least those reasons :
Upvotes: 3