Skip to content

Commit eb1f81b

Browse files
Merge branch 'master' into composeEdits
2 parents ed0a51d + 4b40aac commit eb1f81b

File tree

9,209 files changed

+12255
-21545
lines changed

Some content is hidden

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

9,209 files changed

+12255
-21545
lines changed

docker/tutorials/share-your-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Now that we've built an image, let's share it! To share Docker images, you have
1818

1919
To push an image, first, you need to create a repo on Docker Hub.
2020

21-
1. Go to [Docker Hub](https://hub.docker.com) and log in if you need to.
21+
1. Go to [Docker Hub](https://hub.docker.com/signup/msftedge?utm_source=msftedge) and log in if you need to.
2222

2323
1. Click the **Create Repository** button.
2424

@@ -94,4 +94,4 @@ Now that you've that figured out, recall that at the end of the last section, wh
9494
Continue with the tutorial!
9595
9696
> [!div class="nextstepaction"]
97-
> [Persisting your database](persist-your-data.md)
97+
> [Persisting your database](persist-your-data.md)

docker/tutorials/use-docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ docker run -d \
162162
image: mysql:5.7
163163
```
164164

165-
1. Next, define the volume mapping. When you ran the container with `docker run`, the named volume was created automatically. However, that doesn't happen when running with Compose. You need to define the volume in the top-level `volumes:` section and then specify the mountpoint in the service config. By simply providing only the volume name, the default options are used. There are [many more options available](https://docs.docker.com/compose/compose-file/#volume-configuration-reference) though.
165+
1. Next, define the volume mapping. When you ran the container with `docker run`, the named volume was created automatically. However, that doesn't happen when running with Compose. You need to define the volume in the top-level `volumes:` section and then specify the mountpoint in the service config. By simply providing only the volume name, the default options are used. There are [many more options available](https://github.com/compose-spec/compose-spec/blob/master/spec.md#volumes-top-level-element) though.
166166

167167
```yaml hl_lines="8 9 10 11 12"
168168
version: "3.7"

docker/tutorials/your-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Before you can run the application, you need to get the application source code
2424

2525
1. Make sure that you have Docker for Windows or Docker Community Edition installed on the local machine. See [Docker for Windows installation documentation](https://docs.docker.com/docker-for-windows/install/). The install process makes the ZIP file containing the sample available at the localhost address.
2626

27-
1. [Download the ZIP](http://localhost/assets/app.zip). Open the ZIP file and make sure you extract the contents.
27+
1. [Download the ZIP](https://github.com/docker/getting-started/tree/master/app). Open the ZIP file and make sure you extract the contents.
2828

2929
1. Once extracted, use your favorite code editor to open the project. If you're in need of an editor, you can use [Visual Studio Code](https://code.visualstudio.com/). You should see the `package.json` and two subdirectories (`src` and `spec`).
3030

docs/azure/cloud-services-extended-support.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use Cloud Services (extended support) (Preview)
2+
title: Use Cloud Services (extended support)
33
description: Learn now to create and deploy a Cloud Services (extended support) using Azure Resource Manager with Visual Studio
44
author: ghogen
55
manager: jmartens
@@ -10,26 +10,20 @@ ms.date: 01/25/2021
1010
ms.author: ghogen
1111
monikerRange: ">=vs-2019"
1212
---
13-
# Create and deploy to Cloud Services (extended support) in Visual Studio (Preview)
13+
# Create and deploy to Cloud Services (extended support) in Visual Studio
1414

15-
Starting with [Visual Studio 2019 version 16.9](https://visualstudio.microsoft.com/vs/preview) (currently in preview), you can work with cloud services by using Azure Resource Manager, which greatly simplifies and modernizes maintenance and management of Azure resources. This is enabled by a new Azure service referred to as *Cloud Services (extended support)*. You can publish an existing cloud service to Cloud Services (extended support). For information on this Azure service, see [Cloud Services (extended support) documentation](/azure/cloud-services-extended-support/overview).
15+
Starting with [Visual Studio 2019 version 16.9](https://visualstudio.microsoft.com/vs/), you can work with cloud services by using Azure Resource Manager, which greatly simplifies and modernizes maintenance and management of Azure resources. This is enabled by a new Azure service referred to as *Cloud Services (extended support)*. You can publish an existing cloud service to Cloud Services (extended support). For information on this Azure service, see [Cloud Services (extended support) documentation](/azure/cloud-services-extended-support/overview).
1616

1717
## Publish to Cloud Services (extended support)
1818

19-
When you publish your existing Azure Cloud Service project to Cloud Services (extended support), you still retain the capability to publish to a classic Azure Cloud Service. In Visual Studio 2019 version 16.9 Preview 3 and later, classic cloud service projects have a special version of the **Publish** command, **Publish (extended support)**. This command appears on the shortcut menu in **Solution Explorer**.
19+
When you publish your existing Azure Cloud Service project to Cloud Services (extended support), you still retain the capability to publish to a classic Azure Cloud Service. In Visual Studio 2019 version 16.9 and later, classic cloud service projects have a special version of the **Publish** command, **Publish (extended support)**. This command appears on the shortcut menu in **Solution Explorer**.
2020

21-
There are some differences when you publish to Cloud Services (extended support). For example, you are not asked if you are publishing to **Staging** or **Production**, because these deployment slots are not part of the extended support publishing model. Instead, with Cloud Services (extended support), you can set up multiple deployments, and swap deployments in the Azure portal. Although the Visual Studio tooling allows for setting this in 16.9 Preview 3, the swap feature will not be enabled until a later release of Cloud Services (extended support) and may result in a failure at deployment time during the Preview.
21+
There are some differences when you publish to Cloud Services (extended support). For example, you are not asked if you are publishing to **Staging** or **Production**, because these deployment slots are not part of the extended support publishing model. Instead, with Cloud Services (extended support), you can set up multiple deployments, and swap deployments in the Azure portal. Although the Visual Studio tooling allows for setting this in 16.9, the swap feature will not be enabled until a later release of Cloud Services (extended support) and may result in a failure at deployment time during the Preview.
2222

2323
Before publishing a classic Azure Cloud Service to Cloud Services (extended support), check the storage accounts your project uses and make sure they are Storage V1 or Storage V2 accounts. The classic storage account types will fail with an error message at deploy time. Be sure to check the storage account used by diagnostics. To check the diagnostics storage account, see [Set up diagnostics for Azure Cloud Services and virtual machines](vs-azure-tools-diagnostics-for-cloud-services-and-virtual-machines.md). If your service uses a classic storage account, you can upgrade it; see [Upgrade to a general-purpose v2 storage account](/azure/storage/common/storage-account-upgrade?tabs=azure-portal). For general information on the types of storage accounts, see [Storage account overview](/azure/storage/common/storage-account-overview).
2424

2525
### To publish a classic Azure Cloud Service project to Cloud Services (extended support)
2626

27-
1. Cloud Services (extended support) is currently in preview. Register the feature for your subscription as follows:
28-
29-
```azurepowershell-interactive
30-
Register-AzProviderFeature -FeatureName CloudServices -ProviderNamespace Microsoft.Compute
31-
```
32-
3327
1. Right-click on the project node in your Azure Cloud Service (classic) project and choose **Publish (extended support)...**. The **Publish wizard** opens at the first screen.
3428

3529
![Choose Publish (extended support) from the menu](./media/cloud-services-extended-support/publish-commands-on-menu.png)

docs/azure/index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ landingContent:
8888
linkLists:
8989
- linkListType: how-to-guide
9090
links:
91+
- text: Create and deploy to Cloud Services (extended support)
92+
url: cloud-services-extended-support.md
9193
- text: Create and configure Azure cloud service projects
9294
url: vs-azure-tools-azure-project-create.md
9395
- text: Debug cloud services locally and in Azure
Loading

docs/azure/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
items:
4141
- name: Work with cloud service projects
4242
items:
43-
- name: Use Cloud Services (extended support) (Preview)
43+
- name: Use Cloud Services (extended support)
4444
href: cloud-services-extended-support.md
4545
- name: Create an Azure cloud service project
4646
href: vs-azure-tools-azure-project-create.md

docs/code-quality/ca0001.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "An exception was raised within managed code analysis tool that does not indicate an expected error condition."
23
title: CA0001
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0051.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "No rules were selected."
23
title: CA0051
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0052.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "No targets were selected to analyze."
23
title: CA0052
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0053.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Rule assembly could not be loaded."
23
title: CA0053
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0054.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0054
2+
title: "CA0054: Custom rule assembly has invalid XML resources."
3+
description: "This occurs if a custom rule assembly has invalid XML resources describing its rules."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -14,7 +15,7 @@ ms.workload:
1415
- "multiple"
1516
---
1617
# CA0054
17-
Custom rule assembly has invalid XML resources
18+
Custom rule assembly has invalid XML resources.
1819

1920
This occurs if a custom rule assembly has invalid XML resources describing its rules. The correct format is as follows:
2021

docs/code-quality/ca0055.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0055
2+
title: "CA0055: Could not load file"
3+
description: "The code analysis tool was unable to load the target file that was specified for analysis."
34
ms.date: 10/20/2016
45
ms.topic: reference
56
f1_keywords:
@@ -14,7 +15,8 @@ ms.workload:
1415
- multiple
1516
---
1617
# CA0055
17-
Could not load file:\<path>
18+
19+
Could not load file
1820

1921
The code analysis tool was unable to load the target file that was specified for analysis. This occurs if the file is not found or access to the file was denied. Typically, this occurs if the user chose to override the input assembly property in Visual Studio, or invoked fxcopcmd.exe manually.
2022

docs/code-quality/ca0056.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "A project file has an incorrect version of the analysis tool."
23
title: CA0056
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0057.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0057
2+
title: "CA0057: Violations cannot be mapped to the current set of targets and rules"
3+
description: "This error occurs if FxCopCmd.exe is invoked manually with a project file or an imported XML report that has violations that cannot be mapped to the current set of targets and rules."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -14,6 +15,7 @@ ms.workload:
1415
- "multiple"
1516
---
1617
# CA0057
18+
1719
Violations cannot be mapped to the current set of targets and rules
1820

1921
This error occurs if FxCopCmd.exe is invoked manually with a project file or an /imported XML report that has violations that cannot be mapped to the current set of targets and rules.

docs/code-quality/ca0058.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Unable to load assemblies referenced."
23
title: CA0058
34
ms.date: 10/20/2016
45
ms.topic: reference

docs/code-quality/ca0059.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Command line switch error."
23
title: CA0059
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0060.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Unable to load assemblies referenced indirectly."
23
title: CA0060
34
ms.date: 10/20/2016
45
ms.topic: reference

docs/code-quality/ca0061.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "The rule 'RuleId' could not be found."
23
title: CA0061
34
ms.date: 10/20/2016
45
ms.topic: reference

docs/code-quality/ca0062.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "The rule 'RuleId' referenced in rule set '*RuleSetName*' could not be found."
23
title: CA0062
34
ms.date: 10/20/2016
45
ms.topic: reference

docs/code-quality/ca0063.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Failed to load rule set file or one of its dependent rule set files."
23
title: CA0063
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0064.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "No analysis was performed because the specified rule set did not contain any FxCop rules."
23
title: CA0064
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0065.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0065
2+
title: 'CA0065: Unsupported metadata construct'
3+
description: "Type 'TypeName' contains both a property and a field with the same name 'PropertyFieldName'."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
ms.assetid: 53ead5cf-46c7-4dfb-9cd3-10cb90cc722c
@@ -10,7 +11,10 @@ ms.workload:
1011
- "multiple"
1112
---
1213
# CA0065
13-
Unsupported metadata construct: Type '*TypeName*' contains both a property and a field with the same name '*PropertyFieldName*'
14+
15+
Unsupported metadata construct
16+
17+
Type '*TypeName*' contains both a property and a field with the same name '*PropertyFieldName*'.
1418

1519
## See also
1620
[Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)

docs/code-quality/ca0066.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "The value 'VersionID' provided to the /targetframeworkversion is not a recognized version."
23
title: CA0066
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0067.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Directory not found."
23
title: CA0067
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0068.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Debug information (symbols) could not be found for target assembly 'AssemblyName'."
23
title: CA0068
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0069.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "UsingAlternatePlatform."
23
title: CA0069
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca0501.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0501
2+
title: 'CA0501: Unable to read output report'
3+
description: "This occurs when output report cannot be written, either because the disk is full, permissions are insufficient, or the directory does not exist."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -14,6 +15,7 @@ ms.workload:
1415
- multiple
1516
---
1617
# CA0501
18+
1719
Unable to read output report
1820

1921
This occurs when output report cannot be written because of one of the following reasons:

docs/code-quality/ca0502.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0502
2+
title: 'CA0502: Unsupported language'
3+
description: "This error occurs when the user tries to analyze an ASP.NET project that contains one or more pages or classes written in a language other than C# or Visual Basic."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -14,6 +15,7 @@ ms.workload:
1415
- "multiple"
1516
---
1617
# CA0502
18+
1719
Unsupported language
1820

1921
This error occurs when the user tries to analyze an ASP.NET project that contains one or more pages or classes written in a language other than C# or Visual Basic. To fix this error, remove the file from the project or disable code analysis.

docs/code-quality/ca0503.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0503
2+
title: 'CA0503: The property is deprecated. Use the superceding property'
3+
description: "Generated when a deprecated code analysis property contains a value in the build or project configuration file."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -12,7 +13,8 @@ ms.workload:
1213
- multiple
1314
---
1415
# CA0503
15-
The property is deprecated. Use the superseding property
16+
17+
The property is deprecated. Use the superceding property
1618

1719
Warning CA0503 is generated when a deprecated code analysis property contains a value in the build or project configuration file. To resolve this warning, use the specified property that supersedes it.
1820

docs/code-quality/ca0504.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: CA0504
2+
title: 'CA0504: Rule directory was ignored because it does not exist.'
3+
description: "Generated when a directory specified in the CodeAnalysisRuleDirectories property in a project or build configuration file could not be found."
34
ms.date: 10/19/2016
45
ms.topic: reference
56
f1_keywords:
@@ -12,6 +13,7 @@ ms.workload:
1213
- "multiple"
1314
---
1415
# CA0504
16+
1517
Rule directory was ignored because it does not exist
1618

1719
Warning CA504 is generated when a directory specified in the **CodeAnalysisRuleDirectories** property in a project or build configuration file could not be found. To resolve this issue, enter a valid directory path.

docs/code-quality/ca0505.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "The deprecated property will be ignored because the superceding property is defined."
23
title: CA0505
34
ms.date: 10/19/2016
45
ms.topic: reference

docs/code-quality/ca1004.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "The parameter signature of an externally visible generic method does not contain types that correspond to all the type parameters of the method."
23
title: 'CA1004: Generic methods should provide type parameter'
34
ms.date: 11/04/2016
45
ms.topic: reference

docs/code-quality/ca1006.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "An externally visible member has a signature that contains a nested type argument."
23
title: 'CA1006: Do not nest generic types in member signatures'
34
ms.date: 11/04/2016
45
ms.topic: reference
@@ -41,8 +42,8 @@ Do not suppress a warning from this rule. Providing generics in a syntax that is
4142
## Example
4243
The following example shows a method that violates the rule and the syntax that is required to call the violating method.
4344

44-
[!code-vb[FxCop.Design.NestedGenerics#1](../code-quality/codesnippet/VisualBasic/ca1006-do-not-nest-generic-types-in-member-signatures_1.vb)]
45-
[!code-csharp[FxCop.Design.NestedGenerics#1](../code-quality/codesnippet/CSharp/ca1006-do-not-nest-generic-types-in-member-signatures_1.cs)]
45+
:::code language="vb" source="../snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Design.NestedGenerics/vb/FxCop.Design.NestedGenerics.vb" id="Snippet1":::
46+
:::code language="csharp" source="../snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Design.NestedGenerics/cs/FxCop.Design.NestedGenerics.cs" id="Snippet1":::
4647

4748
## Related rules
4849
[CA1005: Avoid excessive parameters on generic types](/dotnet/fundamentals/code-analysis/quality-rules/ca1005)

docs/code-quality/ca1007.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 'CA1007: Use generics where appropriate'
3+
description: "An externally visible method contains a reference parameter of type System.Object, and the containing assembly targets .NET Framework 2.0."
34
ms.date: 11/04/2016
45
ms.topic: reference
56
f1_keywords:
@@ -41,8 +42,8 @@ Do not suppress a warning from this rule.
4142
## Example
4243
The following example shows a general-purpose swap routine that is implemented as both nongeneric and generic methods. Note how efficiently the strings are swapped by using the generic method compared to the nongeneric method.
4344

44-
[!code-vb[FxCop.Design.UseGenerics#1](../code-quality/codesnippet/VisualBasic/ca1007-use-generics-where-appropriate_1.vb)]
45-
[!code-csharp[FxCop.Design.UseGenerics#1](../code-quality/codesnippet/CSharp/ca1007-use-generics-where-appropriate_1.cs)]
45+
:::code language="vb" source="../snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Design.UseGenerics/vb/FxCop.Design.UseGenerics.vb" id="Snippet1":::
46+
:::code language="csharp" source="../snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Design.UseGenerics/cs/FxCop.Design.UseGenerics.cs" id="Snippet1":::
4647

4748
## Related rules
4849
[CA1005: Avoid excessive parameters on generic types](/dotnet/fundamentals/code-analysis/quality-rules/ca1005)

0 commit comments

Comments
 (0)