Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Using Cloudant

Cloudant’s hosted CouchDB service is the quickest and easiest way to connect your AppHarbor applications to Apache CouchDB. After you provision the Cloudant add-on and re-deploy your application, you can fetch the CouchDB URL from the <appSettings/> section of your "Web.config" file. The setting we inject is called CLOUDANT_URL and to read it from the config file, you would do something like:

var couchUrl = ConfigurationManager.AppSettings.Get("CLOUDANT_URL");

Cloudant has resources to get .NET developers started with CouchDB and AppHarbor provides a sample app using CouchDB that you can deploy straight to the platform without modifications.