Merge pull request #7318 from microsoft/azure-mongodb

Refresh Azure/MongoDB screenshots
This commit is contained in:
Nick Trogh 2024-05-27 15:03:30 +02:00 коммит произвёл GitHub
Родитель 24a84d1bb9 8a45e2aed1
Коммит ac09c55b51
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 22 добавлений и 7 удалений

Просмотреть файл

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ce68475c9f3e464c4d7ed973b83f097b8e02d29cfaad839952b059a91131d83
size 157353

Просмотреть файл

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11d782115e9fd7604a855d2729262416d2577d4f1c737259e5bbbd1a8bdb72c3
size 22885
oid sha256:9f355ba8434e472162063e9f819089f679b5c62501b7cdfa4fec332a9a2aecd1
size 97182

Просмотреть файл

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a64609ebe7e2dd6e289eb4f2fa11f27d56d763786477472583b9eb091f826ce8
size 6535
oid sha256:994302f5e5e0fbfe6b58fb6e6f757ac2f1382804233341425000587f41471928
size 70569

Просмотреть файл

@ -23,9 +23,21 @@ Once you've installed the MongoDB for VS Code extension, you'll notice there is
![MongoDB explorer](images/mongodb/cosmosdb-explorer.png)
To connect to a MongoDB database, select **Add Connection** and enter the connection details for the database then **Connect**, the default is a local MongoDB server at `mongodb://127.0.0.1:27017`. You can also enter a connection string, click the "connect with a connection string" link and paste the connection string.
To connect to a MongoDB database:
![Database Connection setup](images/mongodb/attach-database-account.png)
1. Select **Add Connection** in the MongoDB view
1. Next, choose to connect with a connection string or use advanced connection options:
* Select **Connect with Connection String**, and then enter the connection string in the connection string Quick Pick.
The default connetion string for a local MongoDB is `mongodb://127.0.0.1:27017`.
![Database Connection setup](images/mongodb/attach-database-account-connection-string.png)
* Select **Advanced Connection Settings**, enter the connection details, and then select **Save & Connect**.
![Database Connection setup](images/mongodb/attach-database-account.png)
>**Note**: Make sure your MongoDB server (mongod.exe) is running if you are connecting to a local MongoDB server.
@ -71,6 +83,6 @@ Choose **Create a New Cluster** from the dashboard and choose **Azure** as the C
## Next steps
* [Azure Extensions](/docs/azure/extensions.md) - The VS Code Marketplace has hundreds of extensions for Azure and the cloud.
* [Azure Extensions](/docs/azure/extensions.md) - The Visual Studio Marketplace has hundreds of VS Code extensions for Azure and the cloud.
* [Deploying to Azure](/docs/azure/deployment.md) - Learn step-by-step how to deploy your application to Azure.
* [Working with Docker](/docs/azure/docker.md) - Put your application in a Docker container for easy reuse and deployment.