From 26637ae4541f4ccccede5430ac54b192236e31ea Mon Sep 17 00:00:00 2001 From: Tomasz Naumowicz Date: Wed, 20 Aug 2025 20:55:37 +0200 Subject: [PATCH 1/3] DocumentDB VS Code Extension Section (how to connect) --- app/docs/page.tsx | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/app/docs/page.tsx b/app/docs/page.tsx index c0159d0..5960db3 100644 --- a/app/docs/page.tsx +++ b/app/docs/page.tsx @@ -609,30 +609,38 @@ docker image rm -f ghcr.io/microsoft/documentdb/documentdb-local:latest || echo
  • - Click the DocumentDB icon in the VS Code sidebar + Locate and select the DocumentDB icon in the primary VS Code sidebar on the left-hand side.
  • - Click "Add New Connection" -
  • -
  • - - - On the navigation bar, click on "Connection - String" - -
  • -
  • - - Paste your connection string: +
    + Add a new connection to your DocumentDB: +
      +
    • + + In the DocumentDB Connections area, locate and expand the DocumentDB Local node. +
    • +
    • + + Select the New Local Connection option. +
    • +
    • + + Confirm the port (default value 10260), username, password, and choose the Disable TLS/SSL option. +
    • +
    • + + Note: TLS/SSL can be enabled, but this walkthrough skips those steps for simplicity. +
    • +
    • + + A new DocumentDB Local entry will be added and listed in your DocumentDB Connections area. +
    • +
    +
  • -
    - - mongodb://<YOUR_USERNAME>:<YOUR_PASSWORD>@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256 - -
    From b1fd43682019b9c9c1402c00bdec7f2895bf85d4 Mon Sep 17 00:00:00 2001 From: seesharprun Date: Wed, 3 Dec 2025 12:04:25 -0500 Subject: [PATCH 2/3] Revert changes to `app\docs\page.tsx` --- app/docs/page.tsx | 44 ++++++++++++++++++-------------------------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/app/docs/page.tsx b/app/docs/page.tsx index 3062793..41d2782 100644 --- a/app/docs/page.tsx +++ b/app/docs/page.tsx @@ -609,38 +609,30 @@ docker image rm -f ghcr.io/microsoft/documentdb/documentdb-local:latest || echo
  • - Locate and select the DocumentDB icon in the primary VS Code sidebar on the left-hand side. + Click the DocumentDB icon in the VS Code sidebar
  • -
    - Add a new connection to your DocumentDB: -
      -
    • - - In the DocumentDB Connections area, locate and expand the DocumentDB Local node. -
    • -
    • - - Select the New Local Connection option. -
    • -
    • - - Confirm the port (default value 10260), username, password, and choose the Disable TLS/SSL option. -
    • -
    • - - Note: TLS/SSL can be enabled, but this walkthrough skips those steps for simplicity. -
    • -
    • - - A new DocumentDB Local entry will be added and listed in your DocumentDB Connections area. -
    • -
    -
    + Click "Add New Connection" +
  • +
  • + + + On the navigation bar, click on "Connection + String" + +
  • +
  • + + Paste your connection string:
  • +
    + + mongodb://<YOUR_USERNAME>:<YOUR_PASSWORD>@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256 + +
    From c8a3bcd349811d2d99db62a3fcf21da5ee49d7e8 Mon Sep 17 00:00:00 2001 From: seesharprun Date: Wed, 3 Dec 2025 12:04:31 -0500 Subject: [PATCH 3/3] Update extension documentation steps --- articles/quickstart/extension.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/articles/quickstart/extension.md b/articles/quickstart/extension.md index 64ba6d6..14907bb 100644 --- a/articles/quickstart/extension.md +++ b/articles/quickstart/extension.md @@ -41,14 +41,16 @@ docker image rm -f ghcr.io/microsoft/documentdb/documentdb-local:latest || echo ### 2. Connecting to your database -- Click the DocumentDB icon in the VS Code sidebar -- Click "Add New Connection" -- On the navigation bar, click on "Connection String" -- Paste your connection string: +- Locate and select the DocumentDB icon in the primary Visual Studio Code sidebar. +- Select "Add New Connection" +- In the DocumentDB "Connections" pane, locate and expand the DocumentDB Local node. +- Select the "New Local Conenction" option. +- Confirm the port (default value 10260), username, password, and choose the Disable TLS/SSL option. + - **NOTE**: TLS/SSL can be enabled, but this walkthrough skips those steps for simplicity. +- A new DocumentDB Local entry will be added and listed in your DocumentDB Connections area. -``` -mongodb://:@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256 -``` +> [!NOTE] +> Atlernatively, onn the navigation bar, click on "Connection String". Then, paste a variation of this connection string with the `` and `` placeholders modified to values for your cluster: `mongodb://:@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256`. ### 3. Creating your first database and collection