Skip to content

Commit c82a23c

Browse files
authored
Merge pull request #13764 from MicrosoftDocs/main
Merge to live (manual)
2 parents 9a2e7c9 + 29509b4 commit c82a23c

File tree

49 files changed

+461
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+461
-223
lines changed

docker/tutorials/tutorial-multi-container-app-mysql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ In this example, you create the network and attach the MySQL container at startu
8989
--network todo-app --network-alias mysql
9090
-v todo-mysql-data:/var/lib/mysql
9191
-e MYSQL_ROOT_PASSWORD=<your-password>
92-
-e MYSQL_DB=todos
92+
-e MYSQL_DATABASE=todos
9393
mysql:5.7
9494
```
9595

96-
This command also defines the `MYSQL_ROOT_PASSWORD` and `MYSQL_DB` environment variables. For more information, see [MySQL Docker Hub listing](https://hub.docker.com/_/mysql/).
96+
This command also defines the `MYSQL_ROOT_PASSWORD` and `MYSQL_DATABASE` environment variables. For more information, see [MySQL Docker Hub listing](https://hub.docker.com/_/mysql/).
9797

9898
> [!WARNING]
9999
> This tutorial illustrates password credentials to authenticate with a MySQL database, which is not the most secure method. Refer to the [MySQL documentation](https://dev.mysql.com/doc/) to learn about more secure methods of authentication.
@@ -146,7 +146,7 @@ The `todo` app supports setting certain environment variables to specify your My
146146
| `MYSQL_HOST` | `mysql` | The host name for the MySQL server. |
147147
| `MYSQL_USER` | `root` | The username to use for the connection. |
148148
| `MYSQL_PASSWORD` | `<your-password>` | The password to use for the connection. In this example, substitute your root password for the `<your-password>` placeholder. |
149-
| `MYSQL_DB` | `todos` | The name of the database to use after the connection is established. |
149+
| `MYSQL_DATABASE` | `todos` | The name of the database to use after the connection is established. |
150150

151151
> [!WARNING]
152152
> Using environment variables to set connection settings is acceptable for development, but this practice isn't recommended for running applications in production. For more information, see [Why you shouldn't use environment variables for secret data](https://diogomonica.com/2017/03/27/why-you-shouldnt-use-env-variables-for-secret-data/).
@@ -166,7 +166,7 @@ In the following example, you start your app and connect your app container to y
166166
-e MYSQL_HOST=mysql
167167
-e MYSQL_USER=root
168168
-e MYSQL_PASSWORD=<your-password>
169-
-e MYSQL_DB=todos
169+
-e MYSQL_DATABASE=todos
170170
node:20-alpine
171171
sh -c "yarn install && yarn run dev"
172172
```
@@ -255,7 +255,7 @@ In the following example, you configure a Docker Compose file for your multi-con
255255
-e MYSQL_HOST=mysql
256256
-e MYSQL_USER=root
257257
-e MYSQL_PASSWORD=<your-password>
258-
-e MYSQL_DB=todos
258+
-e MYSQL_DATABASE=todos
259259
node:20-alpine
260260
sh -c "yarn install && yarn run dev"
261261
```
@@ -320,7 +320,7 @@ In the following example, you configure a Docker Compose file for your multi-con
320320
MYSQL_HOST: mysql
321321
MYSQL_USER: root
322322
MYSQL_PASSWORD: <your-password>
323-
MYSQL_DB: todos
323+
MYSQL_DATABASE: todos
324324
```
325325

326326
Remember to enter your MySQL root password for the `<your-password>` placeholder.
@@ -361,7 +361,7 @@ In the following example, you configure a Docker Compose file for your multi-con
361361
- todo-mysql-data:/var/lib/mysql
362362
environment:
363363
MYSQL_ROOT_PASSWORD: <your-password>
364-
MYSQL_DB: todos
364+
MYSQL_DATABASE: todos
365365
```
366366

367367
Remember to enter your MySQL root password for the `<your-password>` placeholder.
@@ -394,15 +394,15 @@ In the following example, you configure a Docker Compose file for your multi-con
394394
MYSQL_HOST: mysql
395395
MYSQL_USER: root
396396
MYSQL_PASSWORD: <your-password>
397-
MYSQL_DB: todos
397+
MYSQL_DATABASE: todos
398398
399399
mysql:
400400
image: mysql:5.7
401401
volumes:
402402
- todo-mysql-data:/var/lib/mysql
403403
environment:
404404
MYSQL_ROOT_PASSWORD: <your-password>
405-
MYSQL_DB: todos
405+
MYSQL_DATABASE: todos
406406
407407
volumes:
408408
todo-mysql-data:

docs/azure/azure-cosmosdb-add-connected-service.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ghogen
55
manager: mijacobs
66
ms.subservice: azure-development
77
ms.topic: conceptual
8-
ms.date: 02/15/2024
8+
ms.date: 03/20/2025
99
ms.author: ghogen
1010
monikerRange: ">= vs-2019"
1111
---
@@ -118,9 +118,12 @@ The connected service functionality adds all the needed references and connectio
118118

119119
1. Enter a connection string name, and choose whether you want the connection string stored in a local secrets file, or in [Azure Key Vault](/azure/key-vault).
120120

121-
![Screenshot showing "Specify connection string" screen.](./media/azure-cosmosdb-add-connected-service/connection-string.png)
121+
![Screenshot showing "Specify connection string" screen.](./media/azure-cosmosdb-add-connected-service/vs-2022/connection-string.png)
122+
123+
The connection string is added as a secret and made available in the app configuration. In ASP.NET Core apps, you can access this connection string by using the `Configuration` property on the `WebApplicationBuilder` object.
122124

123-
The connection string is added as a secret and made available in the app configuration. In ASP.NET Core apps, you can access this connection string by using the `Configuration` property on the `WebApplicationBuild` object.
125+
> [!NOTE]
126+
> With Visual Studio 2022 version 17.12 and later, this procedure uses [Microsoft Entra managed identity](/entra/identity/managed-identities-azure-resources/overview), a passwordless authentication method, to connect to the database. The warning on this screen means that you need to perform a manual step in the Azure CLI after completing this procedure in Visual Studio. See [Use data plane role-based access control with Azure Cosmos DB for NoSQL](/azure/cosmos-db/nosql/security/how-to-grant-data-plane-role-based-access?tabs=built-in-definition%2Ccsharp&pivots=azure-interface-cli#disable-local-auth).
124127
125128
1. The **Summary of changes** screen shows all the modifications that will be made to your project if you complete the process. If the changes look OK, choose **Finish**.
126129

49.3 KB
Loading

docs/containers/docker-compose-properties.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Use double quotes around the values, as in the preceding example, and use the ba
130130
|com.microsoft.visualstudio.debuggee.noattach.program|The program launched when you use **Start without debugging** (**Ctrl**+**F5**) in an Azure functions project that runs in an [isolated process](/azure/azure-functions/dotnet-isolated-process-guide). Typically both **F5** and **Ctrl**+**F5** uses the same program, but if any project type like Azure Functions in an isolated process requires a different program than **F5**, then this will be used.|
131131
|com.microsoft.visualstudio.debuggee.noattach.arguments|The arguments passed to the program when you use **Start without debugging** (**Ctrl**+**F5**) in an Azure functions project that runs in an isolated process.|
132132
|com.microsoft.visual-studio.project-name|The name of the project, which helps Visual Studio find the project if the project is not in the same folder as the Dockerfile.|
133+
|com.microsoft.visualstudio.launch-url.path-query|The path and query used by the containers window when opening links in the ports tab.<br/><br/>Requires Visual Studio 17.13 or later.|
133134
:::moniker-end
134135
135136
### Customize the Docker build process

docs/data-tools/create-a-simple-data-application-by-using-adonet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Create the sample database by following these steps:
6565

6666
Visual Studio creates the project and several files, including an empty Windows form named **Form1**.
6767

68-
1. In Solution Explorer, add two Windows forms to your project so that it has a total of three forms, and give them the following names:
68+
1. In **Solution Explorer**, add two Windows forms to your project so that it has a total of three forms, and give them the following names:
6969

7070
- **Navigation**
7171

@@ -135,7 +135,7 @@ To find the connection string:
135135

136136
To store the connection string in your project:
137137

138-
1. In Solution Explorer, do one of the following steps, depending on your project type:
138+
1. In **Solution Explorer**, do one of the following steps, depending on your project type:
139139

140140
- For a C# project, expand the **Properties** node under the project, and then open the **Settings.settings** file.
141141

@@ -172,13 +172,13 @@ The Navigation form opens when you run the application and includes the followin
172172

173173
For C# projects:
174174

175-
1. In Solution Explorer, open **Program.cs**.
175+
1. In **Solution Explorer**, open **Program.cs**.
176176

177177
1. Change the `Application.Run` line to: `Application.Run(new Navigation());`
178178

179179
For Visual Basic projects:
180180

181-
1. In Solution Explorer, right-click the project and choose **Properties**.
181+
1. In **Solution Explorer**, right-click the project and choose **Properties**.
182182

183183
1. In the Project Designer, select the **Application** tab, and then select **Navigation** in the **Startup object** list.
184184

0 commit comments

Comments
 (0)