You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/azure/vs-azure-tools-configure-roles-for-cloud-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ You can configure an Azure Cloud Services (extended support) project from Soluti
46
46
47
47

48
48
49
-
1. In the **Service Configuration** list, select the name of the service configuration that you want to edit.
49
+
1. In the **Service Configuration** list, select the name of the service configuration that you want to edit.
50
50
51
51

Copy file name to clipboardExpand all lines: docs/azure/vs-azure-tools-connected-services-storage.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,9 +129,9 @@ The connected service functionality adds all the needed references and connectio
129
129
130
130
## Understand authentication
131
131
132
-
After you run the previous procedure, your app is set up to use authentication to access the storage account. The connection information for this authentication are stored locally, if you chose the *secrets.json* method, or in your Azure Key Vault.
132
+
After you run the previous procedure, your app is set up to use authentication to access the storage account. The connection information for this authentication are stored locally, if you chose the *secrets.json* method, or in your Azure key vault.
133
133
134
-
If you used the *secrets.json* file, open the file by using the three dots next to **Secrets.json** on the **Connected Services** tab to open a menu, and choose **Manage user secrets**. With Visual Studio 2022 version 17.12 and later, this file contains settings that reference a Uri to obtain the secure connection string, rather than the connection string itself.
134
+
If you used the *secrets.json* file, open the file by using the three dots next to **Secrets.json** on the **Connected Services** tab to open a menu, and choose **Manage user secrets**. With Visual Studio 2022 version 17.12 and later, this file contains settings that reference a URI to obtain the secure connection string, rather than the connection string itself.
135
135
136
136
```json
137
137
{
@@ -141,7 +141,7 @@ If you used the *secrets.json* file, open the file by using the three dots next
141
141
}
142
142
```
143
143
144
-
With these settings in Visual Studio 17.12 and later, authentication is automatic and flexible. When you run or debug locally from Visual Studio, your Azure credentials saved by Visual Studio are used to access the Azure storage account. If you launch your app from the command-line, you first need to sign in using the Azure CLI, and those credentials are automatically detected and used. But when your app is deployed to Azure and runs in Azure, it uses managed identity, without any code changes. The authentication works in all hosting environments because the Azure Identity APIs check for all chained credentials in sequence and use them when they're found. See [DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet&preserve-view=true).
144
+
With these settings in Visual Studio 17.12 and later, authentication is automatic and flexible. When you run or debug locally from Visual Studio, your Azure credentials saved by Visual Studio are used to access the Azure Storage account. If you launch your app from the command-line, you first need to sign in using the Azure CLI, and those credentials are automatically detected and used. But when your app is deployed to Azure and runs in Azure, it uses managed identity, without any code changes. The authentication works in all hosting environments because the Azure Identity APIs check for all chained credentials in sequence and use them when they're found. See [DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet&preserve-view=true).
Copy file name to clipboardExpand all lines: docs/azure/vs-azure-tools-publishing-a-cloud-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ When you publish your Azure application, you can do one of the following tasks:
47
47
1. On the shortcut menu for the Azure project, choose **Package**.
48
48
49
49
1. In the **Package Azure Application** dialog box, choose the service configuration for which you want to create a package, and then choose the build configuration.
50
-
50
+
51
51
1. (Optional) To turn on Remote Desktop for the cloud service after you publish it, select **Enable Remote Desktop for all Roles**, and then select **Settings** to configure Remote Desktop credentials. For more information, see [Enable Remote Desktop Connection for a Role in Azure Cloud Services using Visual Studio](/azure/cloud-services/cloud-services-role-enable-remote-desktop-visual-studio).
52
52
53
53
1. To create the package, choose the **Package** link.
Copy file name to clipboardExpand all lines: docs/azure/vs-key-vault-add-connected-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Before you begin, make sure that you're signed in to Visual Studio. Sign in with
39
39
40
40

41
41
42
-
1. If you don't have an existing Key Vault, or if you need a Key Vault that you can set with different permissions than an existing one, click on **Create new Key Vault**. You'll be asked to provide the resource group, location, and SKU.
42
+
1. If you don't have an existing Key Vault, or if you need a key vault that you can set with different permissions than an existing one, click on **Create new Key Vault**. You'll be asked to provide the resource group, location, and SKU.
43
43
44
44

Copy file name to clipboardExpand all lines: docs/containers/container-build-from-command-line.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Build a containerized Visual Studio project from the command line
3
3
author: ghogen
4
-
description: Build a container project in Visual Studio using the command line, either with MSBuild.exe or using docker build, and learn how to enable detailed build logs.
4
+
description: Build a container project in Visual Studio using the command line, either with MSBuild.exe or using Docker build, and learn how to enable detailed build logs.
Copy file name to clipboardExpand all lines: docs/containers/container-launch-settings.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,14 +71,14 @@ The following table shows the properties that can be set in this section:
71
71
|Container run arguments| containerRunArguments<br/>ContainerRunArguments|`"containerRunArguments": "-l mylabel=value"`| Additional arguments to pass to the [`docker run`](https://docs.docker.com/engine/reference/commandline/run/) command. <br><br/> (Use the lowercase version in Visual Studio 17.12 and later. The uppercase version was introduced in Visual Studio 17.9 and is provided for backward compatibility.) <br/><br/> You can use the following replacement tokens:<br/><br/> - `{ProjectDir}` - Full path to the project directory. <br/><br/> - `{OutDir}` - The value of the MSBuild property OutDir. |
72
72
|N/A|DockerfileRunArguments|`dockerfileRunArguments": "-l mylabel=value"`|Like `containerRunArguments`, but only for projects that use the Dockerfile build type. For Visual Studio 17.12 and later, it is recommended to use `containerRunArguments` instead.|
73
73
|Environment Variables| environmentVariables |`"environmentVariables":` {<br/> `"ASPNETCORE_URLS": "https://+:443;http://+:80"`, <br/> `"ASPNETCORE_HTTPS_PORT": "44381"` <br/> } | These environment variable values are passed to the process when it's launched in the container. |
74
-
|Container Name| containerName |`mycontainer`| (17.12 and later) A name for the container matching the regular expression `[a-zA-Z0-9][a-zA-Z0-9_.-]`.|
74
+
|Container Name| containerName |`mycontainer`| (17.12 and later) A name for the container matching the regular expression `[a-zA-Z0-9][a-zA-Z0-9_.-]`.|
75
75
|Container environment files| containerRunEnvironmentFiles |`"containerRunEnvironmentFiles": "abc.env;xyz.env"`| (17.12 and later) A list of environment variable files (`.env` files) separated by semicolons. See [.env file syntax](https://docs.docker.com/compose/how-tos/environment-variables/variable-interpolation/#env-file-syntax). |
76
-
|Http Port| httpPort |`"httpPort": 24051`| This port on the host is mapped to the container's port 80 when launching the container. |
76
+
|HTTP Port| httpPort |`"httpPort": 24051`| This port on the host is mapped to the container's port 80 when launching the container. |
77
77
|Launch Browser| launchBrowser |`"launchBrowser": true`| Indicates whether to launch the browser after successfully launching the project. |
78
78
|N/A| launchBrowserTimeout |`"launchBrowserTimeout": 1`| The maximum amount of time (in seconds) to wait for the app to be ready before launching the browser (Docker Compose only). |
79
-
|Url| launchUrl |`"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}"`| This URL is used when launching the browser. Supported replacement tokens for this string are: <br/><br/> - `{Scheme}` - Replaced with either `http` or `https`, depending on whether SSL is used. <br/><br/> - `{ServiceHost}` - Usually replaced with `localhost`. <br/> When you're targeting Windows containers on Windows 10 RS3 or older, though, it's replaced with the container's IP. <br/><br/> - `{ServicePort}` - Usually replaced with either sslPort or httpPort, depending on whether SSL is used. <br/> When you're targeting Windows containers on Windows 10 RS3 or older, though, it's replaced with either `443` or `80`, depending on whether SSL is used. |
79
+
|URL| launchUrl |`"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}"`| This URL is used when launching the browser. Supported replacement tokens for this string are: <br/><br/> - `{Scheme}` - Replaced with either `http` or `https`, depending on whether SSL is used. <br/><br/> - `{ServiceHost}` - Usually replaced with `localhost`. <br/> When you're targeting Windows containers on Windows 10 RS3 or older, though, it's replaced with the container's IP. <br/><br/> - `{ServicePort}` - Usually replaced with either sslPort or httpPort, depending on whether SSL is used. <br/> When you're targeting Windows containers on Windows 10 RS3 or older, though, it's replaced with either `443` or `80`, depending on whether SSL is used. |
80
80
| Publish all ports | publishAllPorts |`"publishAllPorts": true`| If true, pass `-P` to `docker run`, which publishes all exposed ports to a random port. See [Docker documentation](https://docs.docker.com/engine/reference/commandline/run/). However, when you specify `sslPort`, Visual Studio still passes `-p 5002:443`, so your service should still be listening on port 5002.|
81
-
|Ssl Port| sslPort |`"sslPort": 44381`| This port on the host is mapped to the container's port 443 when launching the container. |
81
+
|SSL Port| sslPort |`"sslPort": 44381`| This port on the host is mapped to the container's port 443 when launching the container. |
82
82
| N/A | useSSL |`"useSSL": true`| Indicates whether to use SSL when launching the project. If `useSSL` isn't specified, then SSL is used when `sslPort > 0`. |
83
83
84
84
Not all settings are available in the UI, for example, `useSSL`. To change those settings, edit `launchSettings.json` directly.
Copy file name to clipboardExpand all lines: docs/containers/container-volume-mapping.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ ms.topic: how-to
9
9
10
10
11
11
#customer intent: As a developer, I want to customize the volumes on my application's container so that I can access the files from my running app.
12
-
13
12
---
14
13
15
14
# Customize container volume mapping
@@ -36,7 +35,7 @@ Here are the volumes that are mounted in your container:
36
35
:::moniker-end
37
36
38
37
::: moniker range=">=vs-2022"
39
-
Here are the volumes that are mounted in your container. What you see in your containers might differ depending on the minor version of Visual Studio 2022 you are using.
38
+
Here are the volumes that are mounted in your container. What you see in your containers might differ depending on the minor version of Visual Studio 2022 you are using.
0 commit comments