Creating views from client

.net

#1

I do development locally and on multiple machines. Everytime I have to create a view on the machine I am working which is frustrating.

Is it possible to create views from client? I want to have a setup program that will create views etc.


#2

Yes, see the UpdateDesignDocument method on the Couchbase.Management.BucketManager class: http://docs.couchbase.com/sdk-api/couchbase-net-client-2.1.0/