File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 44Quick Start
55===========
66
7- .. default-domain:: mongodb
7+ .. facet::
8+ :name: genre
9+ :values: tutorial
10+
11+ .. meta::
12+ :keywords: set up, runnable app, initialize, connect
813
914.. contents:: On this page
1015 :local:
@@ -35,19 +40,22 @@ a connection string similar to the following in your copy buffer:
3540Set Your Connection String
3641~~~~~~~~~~~~~~~~~~~~~~~~~~
3742
38- Run the following code at the command prompt to save your MongoDB connection string to an
43+ Run the following code at the command prompt to save your MongoDB
44+ :ref:`connection string <csharp-connect-to-mongodb>` to an
3945environment variable. This method is safer than including your credentials in your source
4046code.
4147
4248.. code-block:: bash
4349
44- export MONGODB_URI=' <your MongoDB URI>'
50+ export MONGODB_URI=" <your MongoDB URI>"
4551
4652.. important::
4753
4854 Make sure to replace the ``<username>`` and ``<password>`` sections of the connection
4955 string with the username and password of your Atlas user.
5056
57+ For more information about connection strings, see :manual:`Connection Strings </reference/connection-string/#connection-strings>`.
58+
5159Set Up Your Project
5260-------------------
5361
You can’t perform that action at this time.
0 commit comments