Skip to content

Commit db6930e

Browse files
committed
pull origin master
2 parents 030345f + 9c97e35 commit db6930e

File tree

1,967 files changed

+4444
-5052
lines changed

Some content is hidden

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

1,967 files changed

+4444
-5052
lines changed

docs/azure/vs-azure-tools-cloud-service-retain-a-constant-virtual-ip-address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to retain a constant virtual IP address for an Azure cloud service | Microsoft Docs
2+
title: Retain constant virtual IP address for Azure cloud service
33
description: Learn how to ensure that the virtual IP address (VIP) of your Azure cloud service doesn't change.
44
author: ghogen
55
manager: jillfra

docs/azure/vs-azure-tools-emulator-express-debug-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Using Emulator Express to run and debug an Azure cloud service on a local machine | Microsoft Docs
2+
title: Emulator Express to run/debug Azure cloud service on local box
33
description: Using Emulator Express to run and debug a cloud service on a local machine
44
author: mikejo5000
55
manager: jillfra

docs/azure/vs-azure-tools-migrate-publish-web-app-to-cloud-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to Migrate and Publish a Web Application to an Azure Cloud Service
2+
title: Migrate & publish web application to Azure Cloud Service
33
description: Learn how to migrate and publish your web application to an Azure cloud service by using Visual Studio
44
author: ghogen
55
manager: jillfra

docs/azure/vs-azure-tools-multiple-services-project-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configuring your Azure project using multiple service configurations | Microsoft Docs
2+
title: Configure Azure project with multiple service configurations
33
description: Learn how to configure an Azure cloud service project by changing the ServiceDefinition.csdef, ServiceConfiguration.Local.cscfg, and ServiceConfiguration.Cloud.cscfg files.
44
author: ghogen
55
manager: jillfra

docs/azure/vs-azure-tools-upgrade-projects-to-the-current-version-of-the-azure-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to upgrade projects to the current version of the Azure tools | Microsoft Docs
2+
title: Upgrade projects to current version of Azure tools
33
description: Learn how to upgrade an Azure project in Visual Studio to the current version of the Azure tools
44
author: ghogen
55
manager: jillfra

docs/code-quality/ca2214-do-not-call-overridable-methods-in-constructors.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "CA2214: Do not call overridable methods in constructors"
3-
ms.date: 11/04/2016
3+
ms.date: 05/29/2016
44
ms.topic: reference
55
f1_keywords:
66
- "DoNotCallOverridableMethodsInConstructors"
@@ -33,7 +33,10 @@ The constructor of an unsealed type calls a virtual method defined in its class.
3333

3434
## Rule description
3535

36-
When a virtual method is called, the actual type that executes the method is not selected until run time. When a constructor calls a virtual method, it is possible that the constructor for the instance that invokes the method has not executed.
36+
When a virtual method is called, the actual type that executes the method is not selected until run time. When a constructor calls a virtual method, it's possible that the constructor for the instance that invokes the method has not executed.
37+
38+
> [!NOTE]
39+
> The binary analysis implementation of this rule has a different diagnostic message of "**\[Constructor name] contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences**". The [FxCop analyzers](install-fxcop-analyzers.md) implementation of this rule has a diagnostic message of "**Do not call overridable methods in constructors**".
3740
3841
## How to fix violations
3942

@@ -45,7 +48,7 @@ Do not suppress a warning from this rule. The constructor should be redesigned t
4548

4649
## Example
4750

48-
The following example demonstrates the effect of violating this rule. The test application creates an instance of `DerivedType`, which causes its base class (`BadlyConstructedType`) constructor to execute. `BadlyConstructedType`'s constructor incorrectly calls the virtual method `DoSomething`. As the output shows, `DerivedType.DoSomething()` executes, and does so before `DerivedType`'s constructor executes.
51+
The following example demonstrates the effect of violating this rule. The test application creates an instance of `DerivedType`, which causes its base class (`BadlyConstructedType`) constructor to execute. `BadlyConstructedType`'s constructor incorrectly calls the virtual method `DoSomething`. As the output shows, `DerivedType.DoSomething()` executes before `DerivedType`'s constructor executes.
4952

5053
[!code-csharp[FxCop.Usage.CtorVirtual#1](../code-quality/codesnippet/CSharp/ca2214-do-not-call-overridable-methods-in-constructors_1.cs)]
5154
[!code-vb[FxCop.Usage.CtorVirtual#1](../code-quality/codesnippet/VisualBasic/ca2214-do-not-call-overridable-methods-in-constructors_1.vb)]

docs/code-quality/code-metrics-values.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ For information about how to generate code metrics data in Visual Studio, see [H
2222

2323
The following list shows the code metrics results that Visual Studio calculates:
2424

25-
- **Maintainability Index** - Calculates an index value between 0 and 100 that represents the relative ease of maintaining the code. A high value means better maintainability. Color coded ratings can be used to quickly identify trouble spots in your code. A green rating is between 20 and 100 and indicates that the code has good maintainability. A yellow rating is between 10 and 19 and indicates that the code is moderately maintainable. A red rating is a rating between 0 and 9 and indicates low maintainability.
25+
- **Maintainability Index** - Calculates an index value between 0 and 100 that represents the relative ease of maintaining the code. A high value means better maintainability. Color coded ratings can be used to quickly identify trouble spots in your code. A green rating is between 20 and 100 and indicates that the code has good maintainability. A yellow rating is between 10 and 19 and indicates that the code is moderately maintainable. A red rating is a rating between 0 and 9 and indicates low maintainability. For more information, see the [Maintainability index range and meaning](https://blogs.msdn.microsoft.com/codeanalysis/2007/11/20/maintainability-index-range-and-meaning/) blog post.
2626

27-
- **Cyclomatic Complexity** - Measures the structural complexity of the code. It is created by calculating the number of different code paths in the flow of the program. A program that has complex control flow will require more tests to achieve good code coverage and will be less maintainable.
27+
- **Cyclomatic Complexity** - Measures the structural complexity of the code. It is created by calculating the number of different code paths in the flow of the program. A program that has complex control flow requires more tests to achieve good code coverage and is less maintainable. For more information, see the [Uncyclopedia entry for cyclomatic complexity](https://wikipedia.org/wiki/Cyclomatic_complexity).
2828

29-
- **Depth of Inheritance** - Indicates the number of class definitions that extend to the root of the class hierarchy. The deeper the hierarchy the more difficult it might be to understand where particular methods and fields are defined or/and redefined.
29+
- **Depth of Inheritance** - Indicates the number of different classes that inherit from one another, all the way back to the base class. Depth of Inheritance is similar to class coupling in that a change in a base class can affect any of its inherited classes. The higher this number, the deeper the inheritance and the higher the potential for base class modifications to result in a breaking change. For Depth of Inheritance, a low value is good and a high value is bad.
3030

31-
- **Class Coupling** - Measures the coupling to unique classes through parameters, local variables, return types, method calls, generic or template instantiations, base classes, interface implementations, fields defined on external types, and attribute decoration. Good software design dictates that types and methods should have high cohesion and low coupling. High coupling indicates a design that is difficult to reuse and maintain because of its many interdependencies on other types.
31+
- **Class Coupling** - Measures the coupling to unique classes through parameters, local variables, return types, method calls, generic or template instantiations, base classes, interface implementations, fields defined on external types, and attribute decoration. Good software design dictates that types and methods should have high cohesion and low coupling. High coupling indicates a design that is difficult to reuse and maintain because of its many interdependencies on other types. For more information, see the [Class coupling](https://blogs.msdn.microsoft.com/zainnab/2011/05/25/code-metrics-class-coupling/) blog post.
3232

33-
- **Lines of Code** - Indicates the approximate number of lines in the code. The count is based on the IL code and is therefore not the exact number of lines in the source code file. A very high count might indicate that a type or method is trying to do too much work and should be split up. It might also indicate that the type or method might be hard to maintain.
33+
- **Lines of Code** - Indicates the approximate number of lines in the code. The count is based on the IL code and is therefore not the exact number of lines in the source code file. A high count might indicate that a type or method is trying to do too much work and should be split up. It might also indicate that the type or method might be hard to maintain.
3434

3535
> [!NOTE]
3636
> The [command-line version](../code-quality/how-to-generate-code-metrics-data.md#command-line-code-metrics) of the code metrics tool counts actual lines of code because it analyzes the source code instead of IL.
@@ -50,4 +50,4 @@ Code generated for Windows Forms is not ignored, because it is code that the dev
5050
## Next steps
5151

5252
- [How to: Generate code metrics data](../code-quality/how-to-generate-code-metrics-data.md)
53-
- [Use the Code Metrics Results window](../code-quality/working-with-code-metrics-data.md)
53+
- [Use the Code Metrics Results window](../code-quality/working-with-code-metrics-data.md)

docs/code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to: Enable and Disable Full Solution Analysis for Managed Code"
2+
title: "Enable & disable full solution analysis for managed code"
33
ms.date: 03/23/2018
44
ms.topic: "conceptual"
55
helpviewer_keywords:

docs/code-quality/how-to-enforce-maintainable-code-with-a-code-analysis-check-in-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to: Enforce Maintainable Code with a Code Analysis Check-in Policy"
2+
title: "Use a code analysis check-in policy"
33
ms.date: 11/04/2016
44
ms.topic: "conceptual"
55
helpviewer_keywords:
@@ -54,4 +54,4 @@ Administrators of version control for Team Foundation can add the Code Analysis
5454
## See also
5555

5656
- [Code metrics values](../code-quality/code-metrics-values.md)
57-
- [Creating and using code analysis check-in policies](../code-quality/how-to-create-or-update-standard-code-analysis-check-in-policies.md)
57+
- [Creating and using code analysis check-in policies](../code-quality/how-to-create-or-update-standard-code-analysis-check-in-policies.md)

docs/code-quality/how-to-specify-additional-code-information-by-using-analysis-assume.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to: Specify Additional Code Information by Using _Analysis_assume"
2+
title: "Use _Analysis_assume for code analysis hints"
33
ms.date: 11/04/2016
44
ms.topic: "conceptual"
55
f1_keywords:
@@ -50,4 +50,4 @@ void test( )
5050
```
5151

5252
## See Also
53-
[__assume](/cpp/intrinsics/assume)
53+
[__assume](/cpp/intrinsics/assume)

docs/code-quality/how-to-synchronize-code-project-rule-sets-with-team-project-check-in-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to: Synchronize Code Project Rule Sets with Team Project Check-in Policy"
2+
title: "Sync project rule sets with check-in policy"
33
ms.date: 11/04/2016
44
ms.topic: conceptual
55
f1_keywords:
@@ -57,4 +57,4 @@ You synchronize the code analysis settings for code projects to the check-in pol
5757

5858
6. In the **Run this rule set** list, click **\<Browse...>**.
5959

60-
7. In the **Open** dialog box, specify the rule set file.
60+
7. In the **Open** dialog box, specify the rule set file.

docs/code-quality/implementing-custom-code-analysis-check-in-policies-for-managed-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Implementing Custom Code Analysis Check-in Policies for Managed Code
2+
title: Custom code analysis check-in policies for managed code
33
ms.date: 11/04/2016
44
ms.topic: conceptual
55
f1_keywords:

docs/containers/hosting-web-apps-in-docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Deploy an ASP.NET Docker container to Azure Container Registry (ACR) | Microsoft Docs
2+
title: Deploy ASP.NET Docker container to ACR registry
33
description: Learn how to use Visual Studio Container Tools to deploy an ASP.NET Core web app to a container registry
44
author: ghogen
55
manager: jillfra
@@ -59,4 +59,4 @@ The following steps guide you through creating a basic ASP.NET Core app that wil
5959

6060
5. Click **Create**
6161

62-
You can now pull the container from the registry to any host capable of running Docker images, for example [Azure Container Instances](/azure/container-instances/container-instances-tutorial-deploy-app).
62+
You can now pull the container from the registry to any host capable of running Docker images, for example [Azure Container Instances](/azure/container-instances/container-instances-tutorial-deploy-app).

docs/containers/tutorial-kubernetes-tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To leverage this new functionality, you'll need:
2121

2222
::: moniker range="vs-2017"
2323
- The latest version of [Visual Studio 2017](https://visualstudio.microsoft.com/vs/older-downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=vs+2017+download) with the *ASP.NET and web development* workload.
24-
- The [Kubernetes tools for Visual Studio](https://aka.ms/get-vsk8stools), available as a separate download.
24+
- The [Kubernetes tools for Visual Studio](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vs-tools-for-kubernetes), available as a separate download.
2525
::: moniker-end
2626
::: moniker range="vs-2019"
2727
- [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019) with the *ASP.NET and web development* workload.
@@ -30,7 +30,7 @@ To leverage this new functionality, you'll need:
3030
::: moniker range="vs-2017"
3131
- If you wish to publish to AKS from Visual Studio (*not* required for debugging in AKS using Azure Dev Spaces):
3232

33-
1. The [AKS publishing tools](https://aka.ms/get-vsk8spublish), available as a separate download.
33+
1. The [AKS publishing tools](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vs-tools-for-kubernetes), available as a separate download.
3434

3535
1. An Azure Kubernetes Service cluster. For more information, see
3636
[Creating an AKS cluster](/azure/aks/kubernetes-walkthrough-portal#create-an-aks-cluster). Be sure to [connect to the cluster](/azure/aks/kubernetes-walkthrough#connect-to-the-cluster) from your development workstation.

docs/containers/tutorial-multicontainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Visual Studio Container Tools multicontainer tutorial with Docker Compose and ASP.NET Core
2+
title: "Multicontainer tutorial using Docker Compose & ASP.NET Core"
33
author: ghogen
44
description: Learn how to use multiple containers with Docker Compose
55
ms.author: ghogen

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: View container logs and environment variables and access the filesystem.
2+
title: Container logs, environment variables, & filesystem access
33
description: Describes how to improve your ability to debug and diagnose your container-based apps in Visual Studio by using a tool window to see what's going on inside the containers that host your app.
44
author: ghogen
55
ms.author: ghogen

0 commit comments

Comments
 (0)