Skip to content

Commit 9392ce7

Browse files
committed
Merged main into live
2 parents b5853bd + 7e6f2f3 commit 9392ce7

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.github/workflows/clean-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Create the PR for the work done by the "clean repo" tool
4141
- name: create-pull-request
42-
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20
42+
uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79
4343
with:
4444
branch: create-cleanrepo-pull-request/patch
4545
title: "Monthly chores: Automated repo cleanup"

.github/workflows/whats-new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
savefile: './docs/ide/whats-new-visual-studio-docs.md'
4242

4343
- name: create-pull-request
44-
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20
44+
uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79
4545
with:
4646
branch: create-whatsnew-pull-request/patch
4747
title: "What's new article"

docs/containers/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Visual Studio Container Tools & Docker on Windows
3-
description: Explore tools available for working with Docker containers in Visual Studio for Windows, including continuous delivery and continuous integration (CI/CD).
2+
title: Visual Studio Container Tools and Docker on Windows
3+
description: Explore tools available for working with Docker containers in Visual Studio for Windows, including CI/CD, and choose whether to work with a Dockerfile, or build a containerized app without a Dockerfile.
44
author: ghogen
55
ms.author: ghogen
66
ms.topic: overview
@@ -190,7 +190,7 @@ COPY --from=publish /app/publish .
190190
ENTRYPOINT ["dotnet", "WebApplication-Docker.dll"]
191191
```
192192

193-
## Add Docker support using the .NET SDK option
193+
## Containerize a .NET app without a Dockerfile
194194

195195
With Visual Studio 2022 17.9 and later with the .NET 7 SDK installed, in ASP.NET Core projects that target .NET 6 or later, you have the option of using .NET SDK's built-in support for container builds, which means you don't need a Dockerfile; see [Containerize a .NET app with dotnet publish](/dotnet/core/docker/publish-as-container?pivots=dotnet-8-0). Instead, you configure your containers using MSBuild properties in the project file, and the settings for launching the containers with Visual Studio are encoded in a `.json` configuration file, *launchSettings.json*.
196196

docs/test/how-to-create-a-data-driven-unit-test.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ The `DataSource` attribute specifies the connection string for the data source a
185185
[DataSource(@"Provider=Microsoft.SqlServerCe.Client.4.0;Data Source=C:\Data\MathsData.sdf", "AddIntegersData")]
186186
```
187187

188+
> [!CAUTION]
189+
> The connection string can contain sensitive data (for example, a password). The connection string is stored in plain text in source code and in the compiled assembly. Restrict access to the source code and assembly to protect this sensitive information.
190+
188191
The DataSource attribute has three constructors.
189192

190193
```csharp

docs/test/microsoft-code-coverage-console-tool.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ms.author: mikejo
77
manager: mijacobs
88
ms.subservice: test-tools
99
author: mikejo5000
10+
monikerRange: '>= vs-2022'
1011
---
1112
# Microsoft.CodeCoverage.Console tool
1213

@@ -44,8 +45,7 @@ Commands:
4445

4546
The Microsoft.CodeCoverage.Console tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool. The documentation for collect, connect, shutdown, merge, and snapshot commands can be found [here](/dotnet/core/additional-tools/dotnet-coverage).
4647

47-
::: moniker range=">=vs-2022"
48-
Starting in Visual Studio 2022, Microsoft.CodeCoverage.Console supports additional security features to enable collecting ASP.NET code coverage data from IIS. Additionally, the Microsoft.CodeCoverage.Console tool supports collecting code coverage for C++ code. The `instrument` command is specific to these scenarios.
48+
Microsoft.CodeCoverage.Console supports additional security features to enable collecting ASP.NET code coverage data from IIS. Additionally, the Microsoft.CodeCoverage.Console tool supports collecting code coverage for C++ code. The `instrument` command is specific to these scenarios.
4949

5050
## Instrument command
5151

@@ -171,8 +171,6 @@ Finally, close the collector as follows:
171171
D:\ConsoleApplication\x64\Debug>Microsoft.CodeCoverage.Console shutdown 73c34ce5-501c-4369-a4cb-04d31427d1a4
172172
```
173173

174-
::: moniker-end
175-
176174
## Related content
177175

178176
- [dotnet-coverage code coverage utility](/dotnet/core/additional-tools/dotnet-coverage)

docs/test/walkthrough-using-a-configuration-file-to-define-a-data-source.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ The **section** element should look similar to this:
7474

7575
The connection strings define provider-specific information for accessing data sources. Connection strings defined in configuration files provide reusable data provider information across an application. In this section, you create two connection strings that will be used by data sources that are defined in the Custom Configuration Section.
7676

77+
> [!CAUTION]
78+
> The connection string can contain sensitive data (for example, a password). The connection string is stored in plain text in source code and in the compiled assembly. Restrict access to the source code and assembly to protect this sensitive information.
79+
7780
### To define connection strings
7881

7982
1. After the **configSections** element, create a **connectionStrings** element.

0 commit comments

Comments
 (0)