Skip to content

Commit c55dbda

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 505cb55 + 6b1d336 commit c55dbda

20 files changed

+284
-417
lines changed

.openpublishing.redirection.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/deployment/how-to-automatically-increment-the-clickonce-publish-version.md",
5+
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "docs/deployment/how-to-set-the-clickonce-publish-version.md",
10+
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "docs/deployment/how-to-specify-the-clickonce-offline-or-online-install-mode.md",
15+
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "docs/deployment/how-to-specify-the-location-where-end-users-will-install-from.md",
20+
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "docs/deployment/how-to-set-a-security-zone-for-a-clickonce-application.md",
25+
"redirect_url": "/visualstudio/deployment/how-to-enable-clickonce-security-settings",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "docs/deployment/how-to-set-custom-permissions-for-a-clickonce-application.md",
30+
"redirect_url": "/visualstudio/deployment/how-to-enable-clickonce-security-settings",
31+
"redirect_document_id": false
32+
},
333
{
434
"source_path": "docs/deployment/azure-deployment-using-github-actions.md",
535
"redirect_url": "/visualstudio/azure/azure-deployment-using-github-actions",

docs/containers/container-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The preceding *Dockerfile* is based on the [Microsoft Container Registry (MCR)](
7474

7575
When the new project dialog's **Configure for HTTPS** check box is checked, the *Dockerfile* exposes two ports. One port is used for HTTP traffic; the other port is used for HTTPS. If the check box isn't checked, a single port (80) is exposed for HTTP traffic.
7676

77-
With Visual Studio 2022 version 17.7 or later, you can target [.NET 8 preview](https://dotnet.microsoft.com/download/). In that case, you have the benefit of being able to run your app more securely, as a normal user, rather than with elevated permissions. The default Dockerfile generated by Visual Studio for .NET 8 projects is configured to run as a normal user. To enable this on an existing project, add the line `USER app` to the Dockerfile in the base image. Also, because port 80 is restricted for normal users, expose ports 8080 and 8081 instead of 80 and 443. Port 8080 is used for HTTP traffic, and port 8081 is used for HTTPS. To run as a normal user, the container must use a .NET 8 base image, and the app must run as a .NET 8 app. When configured correctly, your Dockerfile should contain code as in the following example:
77+
With Visual Studio 2022 version 17.7 or later, you can target [.NET 8 Preview](https://dotnet.microsoft.com/download/). In that case, you have the benefit of being able to run your app more securely, as a normal user, rather than with elevated permissions. The default Dockerfile generated by Visual Studio for .NET 8 projects is configured to run as a normal user. To enable this on an existing project, add the line `USER app` to the Dockerfile in the base image. Also, because port 80 is restricted for normal users, expose ports 8080 and 8081 instead of 80 and 443. Port 8080 is used for HTTP traffic, and port 8081 is used for HTTPS. To run as a normal user, the container must use a .NET 8 base image, and the app must run as a .NET 8 app. When configured correctly, your Dockerfile should contain code as in the following example:
7878

7979
```dockerfile
8080
FROM mcr.microsoft.com/dotnet/aspnet:8.0-preview AS base

docs/containers/view-and-diagnose-containers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can also view information about container images using the **Containers** wi
2626
:::moniker range=">=vs-2022"
2727
- [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
2828
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads) or [Visual Studio 2019 version 16.4](https://visualstudio.microsoft.com/downloads) or later.
29-
- For the Docker Compose node, [Visual Studio 2022 version 17.7 or later](https://visualstudio.microsoft.com/downloads) and Docker v2, which is installed with Docker Desktop and on by default.
29+
- For the Docker Compose node, [Visual Studio 2022 version 17.7 or later](https://visualstudio.microsoft.com/downloads) and Docker v2, which is installed with Docker Desktop and is on by default.
3030

3131
:::moniker-end
3232

@@ -48,7 +48,7 @@ On the left side, you see the list of containers on your local machine. The cont
4848
4949
:::moniker range=">=vs-2022"
5050

51-
If you're using Docker Compose and Visual Studio 2022 version 17.7 or later, you see a tree of nodes for your solution and its Docker Compose project, with a parent node for the solution and child nodes for each project, as you can see the following image:
51+
If you're using Docker Compose and Visual Studio 2022 version 17.7 or later, you see a tree of nodes for your solution and its Docker Compose project, with a parent node for the solution and child nodes for each project.
5252

5353
![Screenshot showing Docker Compose nodes in the Containers window.](./media/view-and-diagnose-containers/vs-2022/containers-logs-interleaved.png)
5454
:::moniker-end
@@ -102,7 +102,7 @@ The **Volumes** tab shows the volumes (mounted filesystem nodes) on the containe
102102

103103
## View logs
104104

105-
The **Logs** tab shows the results of the `docker logs` command. By default, the tab shows stdout and stderr streams on a container, but you can configure the output. For details, see [Docker logging](https://docs.docker.com/config/containers/logging/). By default, the **Logs** tab streams the logs, but you can pause that by choosing the **Stream** button on the tab. If you press **Stream** again, the streaming resumes from where it left off.
105+
The **Logs** tab shows the results of the `docker logs` command. By default, the tab shows stdout and stderr streams on a container, but you can configure the output. For details, see [Docker logging](https://docs.docker.com/config/containers/logging/). By default, the **Logs** tab streams the logs, but you can pause that by choosing the **Stream** button on the tab. If you select **Stream** again, the streaming resumes from where it left off.
106106

107107
:::moniker range="vs-2019"
108108
![Screenshot of Logs tab in Containers window.](media/view-and-diagnose-containers/containers-logs.png)

docs/deployment/code-access-security-for-clickonce-applications.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ ClickOnce applications are based on the .NET Framework and are subject to code a
9292

9393
## See also
9494
- [Secure ClickOnce applications](../deployment/securing-clickonce-applications.md)
95-
- [How to: Enable ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
96-
- [How to: Set a security zone for a ClickOnce application](../deployment/how-to-set-a-security-zone-for-a-clickonce-application.md)
97-
- [How to: Set custom permissions for a ClickOnce application](../deployment/how-to-set-custom-permissions-for-a-clickonce-application.md)
98-
- [How to: Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
95+
- [Enable and configure ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
96+
- [Set a security zone for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-a-security-zone-for-a-clickonce-application)
97+
- [Set custom permissions for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-custom-permissions-for-a-clickonce-application)
98+
- [Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
9999
- [Trusted application deployment overview](../deployment/trusted-application-deployment-overview.md)
100100
- [Security Page, Project Designer](../ide/reference/security-page-project-designer.md)

docs/deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ With Trusted Application Deployment, you can configure client computers so that
6060
- [Code access security for ClickOnce applications](../deployment/code-access-security-for-clickonce-applications.md)
6161
- [ClickOnce and Authenticode](../deployment/clickonce-and-authenticode.md)
6262
- [Trusted application deployment overview](../deployment/trusted-application-deployment-overview.md)
63-
- [How to: Enable ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
64-
- [How to: Set a security zone for a ClickOnce application](../deployment/how-to-set-a-security-zone-for-a-clickonce-application.md)
65-
- [How to: Set custom permissions for a ClickOnce application](../deployment/how-to-set-custom-permissions-for-a-clickonce-application.md)
66-
- [How to: Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
67-
- [How to: Add a trusted publisher to a client computer for ClickOnce applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
68-
- [How to: Re-sign application and deployment manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)
69-
- [How to: Configure the ClickOnce trust prompt behavior](../deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md)
63+
- [Enable and configure ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
64+
- [Set a security zone for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-a-security-zone-for-a-clickonce-application.md)
65+
- [Set custom permissions for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-custom-permissions-for-a-clickonce-application)
66+
- [Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
67+
- [Add a trusted publisher to a client computer for ClickOnce applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
68+
- [Re-sign application and deployment manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)
69+
- [Configure the ClickOnce trust prompt behavior](../deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md)

docs/deployment/how-to-automatically-increment-the-clickonce-publish-version.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

docs/deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can configure the ClickOnce trust prompt to control whether end users are gi
3030

3131
|Option|Registry setting value|Description|
3232
|------------|----------------------------|-----------------|
33-
|Enable the trust prompt.|`Enabled`|The ClickOnce trust prompt is display so that end users can grant trust to ClickOnce applications.|
33+
|Enable the trust prompt.|`Enabled`|The ClickOnce trust prompt is displayed so that end users can grant trust to ClickOnce applications.|
3434
|Restrict the trust prompt.|`AuthenticodeRequired`|The ClickOnce trust prompt is only displayed if ClickOnce applications are signed with a certificate that identifies the publisher.|
3535
|Disable the trust prompt.|`Disabled`|The ClickOnce trust prompt is not displayed for any ClickOnce applications that are not signed with an explicitly trusted certificate.|
3636

@@ -234,9 +234,9 @@ You can configure the ClickOnce trust prompt to control whether end users are gi
234234
- [Code access security for ClickOnce applications](../deployment/code-access-security-for-clickonce-applications.md)
235235
- [ClickOnce and Authenticode](../deployment/clickonce-and-authenticode.md)
236236
- [Trusted application deployment overview](../deployment/trusted-application-deployment-overview.md)
237-
- [How to: Enable ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
238-
- [How to: Set a security zone for a ClickOnce application](../deployment/how-to-set-a-security-zone-for-a-clickonce-application.md)
239-
- [How to: Set custom permissions for a ClickOnce application](../deployment/how-to-set-custom-permissions-for-a-clickonce-application.md)
240-
- [How to: Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
241-
- [How to: Add a trusted publisher to a client computer for ClickOnce applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
242-
- [How to: Re-sign application and deployment manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)
237+
- [Enable and configure ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
238+
- [Set a security zone for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-a-security-zone-for-a-clickonce-application)
239+
- [Set custom permissions for a ClickOnce application](../deployment/how-to-enable-clickonce-security-settings.md#set-custom-permissions-for-a-clickonce-application)
240+
- [Debug a ClickOnce application with restricted permissions](securing-clickonce-applications.md)
241+
- [Add a trusted publisher to a client computer for ClickOnce applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
242+
- [Re-sign application and deployment manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)

0 commit comments

Comments
 (0)