Introduction to CouchDB with .NET part 25: connecting to CouchDB from .NET
July 21, 2017 4 Comments
Introduction
In the previous post we looked at how cookie based authentication works in the CouchDB API. This type of authentication follows a popular model in APIs. The user of the API will first need to acquire a temporary authentication cookie or token. This token must then be attached to the subsequent calls to the API as a means of authentication without sending the username and password in the request. Authentication cookies typically have an expiration date of some minutes. In CouchDB this is set to 10 minutes by default.
In this post we’ll look at how to connect to CouchDB from a .NET project. This is also the final post in this introductory series.