Can .NET (managed code) read and write to CouchDB?
I would like to build a part of my project that does document management using CouchDB
Can .NET (managed code) read and write to CouchDB?
I would like to build a part of my project that does document management using CouchDB
Given that you generally communicate with CouchDB over REST and JSON, I'd imagine it wouldn't be too hard to use JSON.NET and the normal WebClient/HttpWebRequest classes to do it. I haven't tried it myself, mind you...
Yes.
Installing couchDB on windows is not as easy as one would hope. See here.
Here is a link to the getting started with C# wiki article. There is a link to a .Net wrapper in that article. It would be pretty easy to roll your own as well.
Take a look at the SharpCouch utility class.
It is a simple wrapper class for the CouchDB HTTP API.
I have used JSON.NET in conjunction with the MS REST starter kit's http client class to integrate to CouchDB and it works really well.
Keep an eye on Ottoman an open-source project written in C#. It is still in heavy development, but I wanted to point it out as an option for projects in the planning stages. I will update this post as it gets closer to completion. You can view the source on github. Read the README to see examples and what is possible with the current version.
It is a fairly new project, but very active. Of course, I'm a bit biased also. ;-)
Its a late answer, but do check out Hammock. It's active and going into production use on several projects soon and is receiving regular updates and fixes. Besides basic object persistence, Hammock gives you:
Check out Relax http://www.sharplearningcurve.com/wiki/Symbiote-Relax.ashx. Relax is a ".Net API abstraction of CouchDB's (excellent) RESTful API. It includes a repository-based interface for document interaction and a server controller for administrative type tasks."