diff --git a/snooty.toml b/snooty.toml index de02167f..085ef4b7 100644 --- a/snooty.toml +++ b/snooty.toml @@ -8,7 +8,8 @@ toc_landing_pages = [ "/fundamentals/crud/write-operations/update-many", "/fundamentals/authentication", "/upgrade", - "/fundamentals/database-collection" + "/fundamentals/database-collection", + "/get-started" ] name = "csharp" title = "C#/.NET" diff --git a/source/fundamentals/aggregation.txt b/source/fundamentals/aggregation.txt index 735210f7..96169dd5 100644 --- a/source/fundamentals/aggregation.txt +++ b/source/fundamentals/aggregation.txt @@ -100,7 +100,7 @@ To perform an aggregation, pass a list of aggregation stages to the This example uses the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a - free MongoDB Atlas cluster and load the sample datasets, see :ref:`csharp-quickstart`. + free MongoDB Atlas cluster and load the sample datasets, see :ref:`csharp-get-started`. The following code example produces a count of the number of bakeries in each borough of New York City. To do so, it uses an aggregation pipeline that contains the following stages: diff --git a/source/fundamentals/builders.txt b/source/fundamentals/builders.txt index 0f2cdcc5..1876e831 100644 --- a/source/fundamentals/builders.txt +++ b/source/fundamentals/builders.txt @@ -434,7 +434,7 @@ have a defined Atlas Vector Search index before you can perform a vector search .. tip:: - To obtain the sample dataset used in the following example, see :ref:`csharp-quickstart`. + To obtain the sample dataset used in the following example, see :ref:`csharp-get-started`. To create the sample Atlas Vector Search index used in the following example, see :atlas:`Create an Atlas Vector Search Index ` in the Atlas manual. diff --git a/source/fundamentals/crud/read-operations/change-streams.txt b/source/fundamentals/crud/read-operations/change-streams.txt index d30f55a2..e2fcc359 100644 --- a/source/fundamentals/crud/read-operations/change-streams.txt +++ b/source/fundamentals/crud/read-operations/change-streams.txt @@ -30,7 +30,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. The examples on this page use the following ``Restaurant``, ``Address``, and ``GradeEntry`` classes as models: diff --git a/source/fundamentals/crud/read-operations/distinct.txt b/source/fundamentals/crud/read-operations/distinct.txt index 743609ae..a3af7165 100644 --- a/source/fundamentals/crud/read-operations/distinct.txt +++ b/source/fundamentals/crud/read-operations/distinct.txt @@ -34,7 +34,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. The examples on this page uses the following ``Restaurant`` class to model the documents in the collection: diff --git a/source/fundamentals/crud/read-operations/project.txt b/source/fundamentals/crud/read-operations/project.txt index fb64294e..6ad03656 100644 --- a/source/fundamentals/crud/read-operations/project.txt +++ b/source/fundamentals/crud/read-operations/project.txt @@ -29,7 +29,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. Projection Types ---------------- diff --git a/source/fundamentals/crud/read-operations/retrieve.txt b/source/fundamentals/crud/read-operations/retrieve.txt index abd171f6..396b0580 100644 --- a/source/fundamentals/crud/read-operations/retrieve.txt +++ b/source/fundamentals/crud/read-operations/retrieve.txt @@ -39,7 +39,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. The examples on this page use the following ``Restaurant``, ``Address``, and ``GradeEntry`` classes as models: diff --git a/source/fundamentals/crud/write-operations/bulk-write.txt b/source/fundamentals/crud/write-operations/bulk-write.txt index 37346e76..fb7a0963 100644 --- a/source/fundamentals/crud/write-operations/bulk-write.txt +++ b/source/fundamentals/crud/write-operations/bulk-write.txt @@ -32,7 +32,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a free MongoDB Atlas cluster and load the sample datasets, see the -:ref:`` tutorial. +:ref:`` tutorial. Define the Write Operations --------------------------- diff --git a/source/fundamentals/crud/write-operations/delete.txt b/source/fundamentals/crud/write-operations/delete.txt index 5d26c3c1..0b5605fe 100644 --- a/source/fundamentals/crud/write-operations/delete.txt +++ b/source/fundamentals/crud/write-operations/delete.txt @@ -44,7 +44,7 @@ classes as models: .. include:: /includes/convention-pack-note.rst This collection is from the :atlas:`sample datasets ` provided -by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster +by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster and load this sample data. Delete Operations diff --git a/source/fundamentals/crud/write-operations/insert.txt b/source/fundamentals/crud/write-operations/insert.txt index be425c41..3ead0ef9 100644 --- a/source/fundamentals/crud/write-operations/insert.txt +++ b/source/fundamentals/crud/write-operations/insert.txt @@ -71,7 +71,7 @@ classes as models: .. include:: /includes/convention-pack-note.rst This collection is from the :atlas:`sample datasets ` provided -by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster +by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster and load this sample data. The ``_id`` Field diff --git a/source/fundamentals/databases-collections/run-command.txt b/source/fundamentals/databases-collections/run-command.txt index fbf020a8..f1c936ce 100644 --- a/source/fundamentals/databases-collections/run-command.txt +++ b/source/fundamentals/databases-collections/run-command.txt @@ -45,7 +45,7 @@ Sample Data The examples in this guide use the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. Execute a Command diff --git a/source/fundamentals/geo.txt b/source/fundamentals/geo.txt index 951e3246..d5a91551 100644 --- a/source/fundamentals/geo.txt +++ b/source/fundamentals/geo.txt @@ -187,7 +187,7 @@ Examples -------- The following examples uses the MongoDB Atlas sample dataset. To obtain this sample -dataset, see :ref:`csharp-quickstart`. +dataset, see :ref:`csharp-get-started`. The examples use the ``theaters`` collection in the ``sample_mflix`` database from the sample dataset. The ``theaters`` collection contains a ``2dsphere`` index diff --git a/source/fundamentals/indexes.txt b/source/fundamentals/indexes.txt index a2542b3c..01643254 100644 --- a/source/fundamentals/indexes.txt +++ b/source/fundamentals/indexes.txt @@ -77,7 +77,7 @@ and provide sample code for creating each index type. These example uses the ``sample_mflix.movies`` and ``sample_mflix.theaters`` collections from the :atlas:`Atlas sample datasets `. To learn how to create a - free MongoDB Atlas cluster and load the sample datasets, see :ref:`csharp-quickstart`. + free MongoDB Atlas cluster and load the sample datasets, see :ref:`csharp-get-started`. Single Field Indexes ~~~~~~~~~~~~~~~~~~~~ diff --git a/source/fundamentals/linq.txt b/source/fundamentals/linq.txt index 1831c7a5..2e72709d 100644 --- a/source/fundamentals/linq.txt +++ b/source/fundamentals/linq.txt @@ -36,7 +36,7 @@ The {+driver-short+} automatically translates LINQ queries into The examples in this guide use the ``restaurants`` collection in the ``sample_restaurants`` database provided in the :atlas:`Atlas sample datasets `. To learn how to create a free MongoDB Atlas cluster and load the sample datasets, -see the :ref:``. +see the :ref:``. The following ``Restaurant``, ``Address`` and ``GradeEntry`` classes model the documents in this collection: @@ -635,7 +635,7 @@ defined Atlas Vector Search index before you can perform a vector search on your .. tip:: - To obtain the sample dataset used in the following example, see :ref:`csharp-quickstart`. + To obtain the sample dataset used in the following example, see :ref:`csharp-get-started`. To create the sample Atlas Vector Search index used in the following example, see :atlas:`Create an Atlas Vector Search Index ` in the Atlas manual. diff --git a/source/fundamentals/odata.txt b/source/fundamentals/odata.txt index 7154b581..ede2c4cd 100644 --- a/source/fundamentals/odata.txt +++ b/source/fundamentals/odata.txt @@ -32,7 +32,7 @@ Sample Data This tutorial uses the ``sample_restaurants.restaurants`` collection from the :atlas:`Atlas sample datasets `. To learn how to create a -free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. +free MongoDB Atlas cluster and load the sample datasets, see the :ref:``. Tutorial -------- diff --git a/source/get-started.txt b/source/get-started.txt new file mode 100644 index 00000000..bab7ee64 --- /dev/null +++ b/source/get-started.txt @@ -0,0 +1,44 @@ +.. _csharp-get-started: + +=================================== +Get Started with the {+driver-short+} +=================================== + +.. contents:: On this page + :local: + :backlinks: none + :depth: 2 + :class: singlecol + +.. facet:: + :name: genre + :values: tutorial + +.. meta:: + :description: Learn how to create an app to connect to MongoDB deployment by using the .NET/C# driver. + :keywords: quick start, tutorial, basics + +.. toctree:: + + Download the Driver + Deploy a Cluster + Create a Connection String + Run a Sample Query + +Overview +-------- + +The {+driver-short+} is a NuGet package that you can use to connect +to and communicate with MongoDB. This guide shows you how to create an +application that uses the {+driver-short+} to connect to a MongoDB cluster hosted on +MongoDB Atlas. + +.. tip:: + + MongoDB Atlas is a fully managed cloud database service that hosts your MongoDB + deployments. You can create your own free (no credit card required) MongoDB Atlas + deployment by following the steps in this guide. + +Follow this guide to connect a sample {+language+} application to a MongoDB Atlas +deployment. If you prefer to connect to MongoDB using a different driver or +programming language, see our :driver:`list of official drivers <>`. diff --git a/source/get-started/create-connection-string.txt b/source/get-started/create-connection-string.txt new file mode 100644 index 00000000..1a3524c5 --- /dev/null +++ b/source/get-started/create-connection-string.txt @@ -0,0 +1,86 @@ +.. _csharp-get-started-connection-string: + +========================== +Create a Connection String +========================== + +You can connect to your MongoDB deployment by providing a +**connection URI**, also called a *connection string*, which +instructs the driver on how to connect to a MongoDB deployment +and how to behave while connected. + +The connection string includes the hostname or IP address and +port of your deployment, the authentication mechanism, user credentials +when applicable, and connection options. + +.. tip:: + + To connect to a self-managed (non-Atlas) deployment, see + :ref:`csharp-connect-to-mongodb`. + +.. procedure:: + :style: connected + + .. step:: Find your MongoDB Atlas Connection String + + To retrieve your connection string for the deployment that + you created in the :ref:`previous step `, + log into your Atlas account and navigate to the + :guilabel:`Database` section and click the :guilabel:`Connect` button + for your new deployment. + + .. figure:: /includes/figures/atlas_connection_select_cluster.png + :alt: The connect button in the clusters section of the Atlas UI + + Proceed to the :guilabel:`Connect your application` section and select + "C# / .NET" from the :guilabel:`Driver` selection menu and the version + that best matches the version you installed from the :guilabel:`Version` + selection menu. + + Select the :guilabel:`Password (SCRAM)` authentication mechanism. + + Deselect the :guilabel:`Include full driver code example` option to view + the connection string. + + .. step:: Copy your Connection String + + Click the button on the right of the connection string to copy it to + your clipboard as shown in the following screenshot: + + .. figure:: /includes/figures/atlas_connection_copy_string.png + :alt: The connection string copy button in the Atlas UI + + .. step:: Update the Placeholders + + Paste this connection string into a file in your preferred text editor + and replace the ```` and ```` placeholders with + your database user's username and password. + + Save this file to a safe location for use in the next step. + + .. step:: Set an Environment Variable + + In your shell, run the following code to save your MongoDB + :ref:`connection string ` to an + environment variable. Replace ```` with the connection + string that you saved to a file in the previous step. + + .. code-block:: bash + + export MONGODB_URI="" + + .. note:: PowerShell + + If you're using Microsoft PowerShell, run the following command instead: + + .. code-block:: bash + + set MONGODB_URI="" + + Storing your credentials in an environment variable is safer than hardcoding them + in your source code. + +After completing these steps, you have a connection string that +contains your database username and password. + +.. include:: /includes/get-started/quickstart-troubleshoot.rst \ No newline at end of file diff --git a/source/get-started/deploy-cluster.txt b/source/get-started/deploy-cluster.txt new file mode 100644 index 00000000..f3849975 --- /dev/null +++ b/source/get-started/deploy-cluster.txt @@ -0,0 +1,29 @@ +.. _csharp-get-started-deploy-cluster: + +============================== +Deploy a MongoDB Atlas Cluster +============================== + +You can create a free tier MongoDB deployment on MongoDB Atlas +to store and manage your data. MongoDB Atlas hosts and manages +your MongoDB database in the cloud. + +.. procedure:: + :style: connected + + .. step:: Create a Free MongoDB Deployment on Atlas + + Complete the :atlas:`Get Started with Atlas ` + guide to set up a new Atlas account and load sample data into a new free + tier MongoDB deployment. + + .. step:: Save your Credentials + + After you create your database user, save that user's + username and password to a safe location for use in an upcoming step. + +After you complete these steps, you have a new free tier MongoDB +deployment on Atlas, database user credentials, and sample data loaded +in your database. + +.. include:: /includes/get-started/quickstart-troubleshoot.rst \ No newline at end of file diff --git a/source/get-started/download-driver.txt b/source/get-started/download-driver.txt new file mode 100644 index 00000000..66aebe51 --- /dev/null +++ b/source/get-started/download-driver.txt @@ -0,0 +1,34 @@ +.. _csharp-get-started-download-driver: + +=========================== +Download the {+driver-short+} +=========================== + +.. procedure:: + :style: connected + + .. step:: Create a Project Directory + + In your shell, run the following commands to create a + directory called ``csharp-quickstart`` and initialize a {+framework+} project for + a new console application: + + .. code-block:: bash + + mkdir csharp-quickstart + cd csharp-quickstart + dotnet new console + + .. step:: Install the {+driver-short+} + + Run the following command to install the current version of the {+driver-short+} + as a dependency of your project: + + .. code-block:: bash + + dotnet add package MongoDB.Driver + +After you complete these steps, you have a new {+framework+} project +and the {+driver-short+} installed. + +.. include:: /includes/get-started/quickstart-troubleshoot.rst \ No newline at end of file diff --git a/source/get-started/run-sample-query.txt b/source/get-started/run-sample-query.txt new file mode 100644 index 00000000..0a79e9d3 --- /dev/null +++ b/source/get-started/run-sample-query.txt @@ -0,0 +1,49 @@ +.. _csharp-get-started-run-sample-query: + +================== +Run a Sample Query +================== + +.. procedure:: + :style: connected + + .. step:: Create your {+lang-framework+} Application + + Copy and paste the following code into the ``Program.cs`` file in your application: + + .. literalinclude:: /includes/quick-start/Program.cs + :language: csharp + :dedent: + + .. step:: Run your Application + + In your shell, run the following command to start this application: + + .. code-block:: sh + + dotnet run csharp-quickstart.csproj + + The output includes details of the retrieved movie document: + + .. code-block:: none + + { + _id: ..., + plot: 'A young man is accidentally sent 30 years into the past...', + genres: [ 'Adventure', 'Comedy', 'Sci-Fi' ], + ... + title: 'Back to the Future', + ... + } + + .. tip:: + + If you encounter an error or see no output, ensure that you specified the + proper connection string, and that you loaded the + sample data. + +After you complete these steps, you have a working application that +uses the driver to connect to your MongoDB deployment, runs a query on +the sample data, and prints out the result. + +.. include:: /includes/get-started/quickstart-troubleshoot.rst diff --git a/source/includes/atlas-sample-data.rst b/source/includes/atlas-sample-data.rst index 46d24320..bc1588a1 100644 --- a/source/includes/atlas-sample-data.rst +++ b/source/includes/atlas-sample-data.rst @@ -24,5 +24,5 @@ classes as models: .. include:: /includes/convention-pack-note.rst This collection is from the :atlas:`sample datasets ` provided -by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster +by Atlas. See the :ref:`` to learn how to create a free MongoDB cluster and load this sample data. \ No newline at end of file diff --git a/source/includes/figures/atlas_connection_copy_string.png b/source/includes/figures/atlas_connection_copy_string.png new file mode 100644 index 00000000..22f1a910 Binary files /dev/null and b/source/includes/figures/atlas_connection_copy_string.png differ diff --git a/source/includes/figures/atlas_connection_select_cluster.png b/source/includes/figures/atlas_connection_select_cluster.png new file mode 100644 index 00000000..52d827d6 Binary files /dev/null and b/source/includes/figures/atlas_connection_select_cluster.png differ diff --git a/source/includes/get-started/quickstart-troubleshoot.rst b/source/includes/get-started/quickstart-troubleshoot.rst new file mode 100644 index 00000000..7ad83bce --- /dev/null +++ b/source/includes/get-started/quickstart-troubleshoot.rst @@ -0,0 +1,6 @@ +.. note:: + + If you run into issues on this step, ask for help in the + :community-forum:`MongoDB Community Forums ` + or submit feedback by using the :guilabel:`Rate this page` + tab on the right or bottom right side of this page. diff --git a/source/includes/quick-start/Program.cs b/source/includes/quick-start/Program.cs index a050d16d..62da7c08 100644 --- a/source/includes/quick-start/Program.cs +++ b/source/includes/quick-start/Program.cs @@ -4,7 +4,7 @@ var connectionString = Environment.GetEnvironmentVariable("MONGODB_URI"); if (connectionString == null) { - Console.WriteLine("You must set your 'MONGODB_URI' environment variable. To learn how to set it, see https://www.mongodb.com/docs/drivers/csharp/current/quick-start/#set-your-connection-string"); + Console.WriteLine("You must set your 'MONGODB_URI' environment variable. To learn how to set it, see https://www.mongodb.com/docs/drivers/csharp/current/get-started/create-connection-string"); Environment.Exit(0); } diff --git a/source/index.txt b/source/index.txt index d852dbca..72444317 100644 --- a/source/index.txt +++ b/source/index.txt @@ -12,7 +12,7 @@ MongoDB C# Driver .. toctree:: Previous Versions - Quick Start + Get Started Quick Reference What's New Usage Examples @@ -32,7 +32,7 @@ Introduction Welcome to the documentation site for the official {+driver-long+}. You can add the driver to your application to work with MongoDB in {+language+}. Download the driver using `NuGet `__, or set up a runnable -project by following our :ref:`Quick Start guide `. +project by following our :ref:`Get Started ` guide. Previous Versions ----------------- @@ -47,11 +47,11 @@ deployments running on one of the following hosted services or editions: .. include:: /includes/fact-environments.rst -Quick Start +Get Started ----------- Learn how to establish a connection to MongoDB Atlas and begin -working with data in the :ref:`csharp-quickstart` section. +working with data in the :ref:`csharp-get-started` section. Quick Reference --------------- diff --git a/source/quick-start.txt b/source/quick-start.txt deleted file mode 100644 index 96690d2c..00000000 --- a/source/quick-start.txt +++ /dev/null @@ -1,134 +0,0 @@ -.. _csharp-quickstart: - -=========== -Quick Start -=========== - -.. facet:: - :name: genre - :values: tutorial - -.. meta:: - :keywords: set up, runnable app, initialize, connect - -.. contents:: On this page - :local: - :backlinks: none - :depth: 2 - :class: singlecol - -.. include:: /includes/quick-start/overview.rst - -Create a MongoDB Cluster ------------------------- - -Set Up a Free Tier Cluster in Atlas -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -To set up your Atlas Free Tier Cluster required for this guide, complete the guide on -:guides:`MongoDB Atlas Setup `. - -After completing the steps in the Atlas guide, you have a new MongoDB -cluster deployed in Atlas, a new database user, and -:atlas:`sample datasets loaded ` into your cluster. You also have -a connection string similar to the following in your copy buffer: - -.. code-block:: bash - - "mongodb+srv://:@cluster0.abc.mongodb.net/?retryWrites=true&w=majority" - -Set Your Connection String -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Run the following code at the command prompt to save your MongoDB -:ref:`connection string ` to an -environment variable. This method is safer than including your credentials in your source -code. - -.. code-block:: bash - - export MONGODB_URI="" - -.. note:: PowerShell Environment Variables - - If you are using Microsoft PowerShell, run the following command to - save your connection string in an environment variable: - - .. code-block:: bash - - set MONGODB_URI="" - -.. important:: - - Make sure to replace the ```` and ```` sections of the connection - string with the username and password of your Atlas database user. - -For more information about connection strings, see :manual:`Connection Strings `. - -Set Up Your Project -------------------- - -Create the Project -~~~~~~~~~~~~~~~~~~ - -Create a new directory and initialize your project with the ``dotnet new`` command, as follows: - -.. code-block:: shell - - mkdir csharp-quickstart - cd csharp-quickstart - dotnet new console - -.. _csharp-add-mongodb-dependency: - -Add MongoDB as a Dependency -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Use the ``dotnet add`` command to add the {+driver-short+} to your project as a dependency. - -.. code-block:: shell - - dotnet add package MongoDB.Driver - -Query Your MongoDB Cluster from Your Application ------------------------------------------------- - -In this step, you'll use the {+driver-short+} -to connect to your MongoDB cluster and run a query on the sample data. You'll need your -preferred text editor or :wikipedia:`integrated development environment (IDE) ` -installed and running. - -Open the file named ``Program.cs`` in the base directory of your project. Copy the -following sample code into ``Program.cs`` - -.. literalinclude:: /includes/quick-start/Program.cs - :language: csharp - :dedent: - -This sample code runs a query against your sample dataset in MongoDB Atlas. Run it -from your command line by using the following command: - -.. code-block:: bash - - dotnet run csharp-quickstart.csproj - -.. include:: /includes/quick-start/query-output.rst - -.. tip:: - - If your output is empty, ensure you have loaded the - :atlas:`sample datasets ` into your cluster. - -After completing this step, you should have a working application that uses -the {+driver-short+} to connect to your MongoDB cluster, run a query on the -sample data, and print out the result. - -To learn more about connecting to Atlas with the {+driver-short+}, see -the :atlas:`Atlas driver connection ` guide -and select :guilabel:`{+language+}` from the :guilabel:`Select your language` dropdown. - -Next steps ----------- - -Learn how to read and modify data using the {+driver-short+} in the CRUD Operations -guide or how to perform common operations in Usage Examples. diff --git a/source/usage-examples.txt b/source/usage-examples.txt index 38dc7079..1096d1e9 100644 --- a/source/usage-examples.txt +++ b/source/usage-examples.txt @@ -67,7 +67,7 @@ or you can Once you have imported the dataset, you can copy and paste a usage example into your development environment of choice. You can follow the -:ref:`csharp-quickstart` to learn more about getting +:ref:`csharp-get-started` to learn more about getting started with the {+driver-long+}. Once you've copied a usage example, you'll need to edit the connection URI to get the example connected to your MongoDB instance: diff --git a/source/whats-new.txt b/source/whats-new.txt index d7009d26..263e0fc9 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -61,7 +61,7 @@ The 3.1 driver release includes the following new features: in the Atlas Search documentation. - Adds support for the ``sort`` option to be passed to update commands. To learn more about - using update commands with the {+driver-short+}, see :ref:`csharp-change-guide`. + using update commands with the {+driver-short+}, see :ref:`csharp-crud-write-operations`. For more information about this release, see the :github:`v3.1 release notes `.