how to connect couchdb with web api core
Asked Answered
L

2

7

want to connect to a CouchDb databse from asp.net core web api , but am having trouble finding the code to do so.

Can anyone help me with the code to do that? What is the 'normal' way of doing that?

Cheers!

Lombardi answered 13/12, 2017 at 13:19 Comment(1)
why noone is answering?Lombardi
D
2

You can use the MyCouch Library for .Net https://github.com/danielwertheim/mycouch

Dobbins answered 14/12, 2017 at 23:5 Comment(4)
You have more documentation in the project wiki github.com/danielwertheim/mycouch/wiki/…Dobbins
not able to install mycouch because some dependency is missing is theare any example with asp.net core 2.0 webapi crud with couch db so i can undertand basic operation step by stepLombardi
Yo can check the cloudant web starter for ASP .NET github.com/IBM-Cloud/aspnet-core-cloudant. Cloudant is API level compatible with CouchDBDobbins
MyCouch has been updated to v5.1.1 @ 2018-03-19 working with net core 2.0Hippocampus
Z
0

I had the same need and after evaluating the existing options, I created a set of mechanisms that met the requirements that I had to meet and made available on github and the nuget package.

The explanation of how to use it is on github.

Below is the link in case you want to take a look.

In time, to prevent someone from coming here and deleting my answer, I inform you that I have no intention of promoting what I did with this answer, just suggesting that you evaluate it and if it is your case, feel free to use it.

Link: Nuget Package | Github

An example webapi core project follows how to make this connection and perform data operations with this lib: webapi core sample

Zosi answered 1/11, 2020 at 23:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.