Save a Connection String
This wizard page allows you to save a connection string to the application’s configuration file. Check the Yes, save a connection as option and specify the name of the connection string to save it. Otherwise, click Next.
The string is saved to the project’s configuration file and you can use this string when you create a new MongoDB connection.
Note
For .NET projects, install Microsoft.Extensions.Configuration and Microsoft.Extensions.Configuration.Json to obtain a data connection string from appsettings.json
when you select a predefined data connection in the Data Source Wizard.