Couchbase
Couchbase Server (formerly Membase) is a distributed, document-oriented NoSQL database management system that unites CouchDB's simplicity, reliability, and Memcached performance.
Installation
Download the appropriate version file Http://www.couchbase.com/nosql-databases/downloads?gtmRefId=FixedCTA-Download#download_form
Installation diagram turn from: http://blog.csdn.net/qq415734794/article/details/7865826
Click Setup to skip to http://localhost:8091/index.html
C # uses
Couchbase Create Data bukets name called Testa, password set to 123456
Download Client Reference Http://packages.couchbase.com/clients/net/1.1/Couchbase-Net-Client-1.1.6.zip
Static voidMain (string[] args) { varKey ="Cottrell_brewing-old_yankee_ale"; varClientconfiguration =Newcouchbaseclientconfiguration (); Clientconfiguration.bucket="TestA"; Clientconfiguration.bucketpassword="123456"; CLIENTCONFIGURATION.URLS.ADD (NewUri ("Http://10.4.5.31:8091/pools/default")); ClientConfiguration.SocketPool.ReceiveTimeout=NewTimeSpan (0,0,111); ClientConfiguration.SocketPool.ConnectionTimeout=NewTimeSpan (0,0,111); ClientConfiguration.SocketPool.DeadTimeout=NewTimeSpan (0,0,111); varClient =Newcouchbaseclient (clientconfiguration); varresult = client. Store (Storemode.set, Key,"DSFDSF"); if(Result) {varSavedbeer =client. Get (key); Console.WriteLine ("Found Beer:"+savedbeer.tostring ()); } console.read (); }
Couchbase Environment Construction and use (C #)