Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3976

Revise bucket usage pattern

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None

    Description

      https://developer.couchbase.com/documentation/server/current/sdk/dotnet/start-using-sdk.html

      The example near the bottom of how to use a bucket wraps the bucket in a using statement. That's is a big no-no as it will tear down the connection when disposed. Having this usage pattern here caused confusion for devs in my organization and led to problems in production. Please revise this example to not use a using statement. Additional info on how the bucket object is disposed and when it should be disposed would be extremely helpful.

      Reporter: Nathan
      E-mail: njohnson@netdocuments.com

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard.smedley Richard Smedley
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty