Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-40

New constructor that takes just the section from the app.config file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2 DP2
    • Component/s: library
    • Labels:
      None

      Description

      While creating Couchbase client, we can use a constructor with (sectionName,bucket,bucketPassword)

      Can we have a constructor which should only accept sectionName, and read bucket, password from config?

      i.e.
      Var couchbaseClient = new CouchbaseClient(sectionName);

      The disadvantage of having bucket and password at this level, is hard coding or reading another config file just for bucket and password for different buckets.

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

        Activity

        Hide
        john John Zablocki (Inactive) added a comment -

        The 1.2 client supports this feature

        Show
        john John Zablocki (Inactive) added a comment - The 1.2 client supports this feature

          People

          • Assignee:
            john John Zablocki (Inactive)
            Reporter:
            james.mauss James Mauss
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes