How to create and save PersistentDictionary to CouchBase

I have looked all over both on the internet and in the SDK docs and trying all I can think of using the .NET SDK in LinqPad, but I cannot figure out how to save a PersistentDictionary to COuchBase.

Can someone provide the link to where this is explained or sample code?


The PersisentDictionary is automatically saved to Couchbase. Every mutation you perform on the dictionary is immediately persisted and may throw exceptions if there are errors. For this reason, I generally recommend using the Async overloads as the persistence operations are intrinsically asynchronous. This will help prevent issues with thread pool depletion.