Skip to content

Commit 5379086

Browse files
Merge pull request #10586 from MicrosoftDocs/main638732774631933146sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 76c3d5e + fcdd07c commit 5379086

11 files changed

+26
-21
lines changed

docs/debugger/how-to-enable-debugging-for-aspnet-applications.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Enable debugging for ASP.NET apps
33
description: Learn how to enable debugging for ASP.NET and ASP.NET Core apps in Visual Studio. You can run the process on an IIS Express server or a local IIS server.
4-
ms.date: 01/30/2024
4+
ms.date: 01/21/2025
55
ms.topic: how-to
66
dev_langs:
77
- CSharp
@@ -48,7 +48,7 @@ You can also debug an ASP.NET or ASP.NET Core app on a local IIS server (version
4848
::: moniker range=">=vs-2022"
4949
## Debug ASP.NET Core apps
5050

51-
A default profile based for https or one based on the project name may be present, which are configured for the Kestrel web server. If you're debugging on local IIS instead, make sure you meet the [prerequisites for local IIS debugging](#prerequisites-for-local-iis-server).
51+
A default profile named **https** or one based on the project name may be present, which are configured for the Kestrel web server. If you're debugging on local IIS instead, make sure you meet the [prerequisites for local IIS debugging](#prerequisites-for-local-iis-server).
5252

5353
1. Select the ASP.NET Core project in Visual Studio **Solution Explorer** and click the **Properties** icon, or press **Alt**+**Enter**, or right-click and choose **Properties**.
5454

@@ -66,9 +66,13 @@ A default profile based for https or one based on the project name may be presen
6666

6767
1. Make sure that **Url**, **App URL**, and **App SSL URL** are correct.
6868

69-
**Url** specifies the location of host URL for .NET or .NET Core. For a profile named after the project (that is, the commandName property in `launchSettings.json` is *Project*), the Kestrel server listens to the port specified. For an IIS profile, this is typically the same value as the **App URL**. For more information, see the IIS launch profile section under [Configure the project](/aspnet/core/host-and-deploy/iis/development-time-iis-support#configure-the-project).
69+
**Url** specifies the location of host URL for .NET Core or .NET 5+. For a profile named after the project (that is, the commandName property in `launchSettings.json` is *Project*), the Kestrel server listens to the port specified. For an IIS profile, this is typically the same value as the **App URL**. For more information, see the IIS launch profile section under [Configure the project](/aspnet/core/host-and-deploy/iis/development-time-iis-support#configure-the-project).
7070

71-
**App URL** and **App SSL URL** specify the application URL(s). For a profile named after the project, this property specifies the Kestrel server URLs, typically `https://localhost:5001` and `http://localhost:5000`. For IIS Express, the **App SSL URL** is typically `http://localhost:44334`.
71+
**App URL** and **App SSL URL** specify the application URL(s).
72+
73+
- For an **https** profile, the **App URL** property is typically `https://localhost:7241;http://localhost:5175`.
74+
- For a profile named after the project, these properties are typically `http://localhost:5000` and `https://localhost:5001`.
75+
- For IIS Express, the **App SSL URL** is typically `https://localhost:44334`.
7276

7377
1. Under **Environment variables**, make sure that **ASPNETCORE_ENVIRONMENT** is present with a value of **Development**. If not, add the variable.
7478

docs/debugger/how-to-set-debug-and-release-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Set debug and release configurations
33
description: Set debug and release configurations in Visual Studio. You build the debug version for debugging and the release version for the final release distribution.
4-
ms.date: 01/19/2024
4+
ms.date: 01/21/2025
55
ms.topic: how-to
66
f1_keywords:
77
- vs.debug.builds

docs/debugger/managing-exceptions-with-the-debugger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Manage exceptions with the debugger
33
description: Learn how to specify which exceptions the debugger breaks on, at which point you want the debugger to break, and how breaks are handled.
4-
ms.date: 01/19/2024
4+
ms.date: 01/21/2025
55
ms.topic: how-to
66
f1_keywords:
77
- vs.debug.exceptions
Loading

docs/debugger/remote-debugging.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Remote debugging
33
description: Debug a Visual Studio application that has been deployed on a different computer by using the Visual Studio remote debugger.
4-
ms.date: 01/19/2024
4+
ms.date: 01/21/2025
55
ms.topic: conceptual
66
f1_keywords:
77
- "vs.debug.remote.overview"
@@ -84,7 +84,7 @@ You can change some aspects of the configuration of the remote debugger after yo
8484
- If you need to add permissions for other users to connect to the remote debugger, choose **Tools > Permissions**. You must have administrator privileges to grant or deny permissions.
8585

8686
> [!IMPORTANT]
87-
> You can run the remote debugger under a user account that differs from the user account you are using on the Visual Studio computer, but you must add the different user account to the remote debugger's permissions.
87+
> You can run the remote debugger under a user account that differs from the user account you're using on the Visual Studio computer, but you must add the different user account to the remote debugger's permissions.
8888
8989
Alternatively, you can start the remote debugger from the command line with the **/allow \<username>** parameter: **msvsmon /allow \<username@computer>**.
9090

@@ -93,15 +93,15 @@ You can change some aspects of the configuration of the remote debugger after yo
9393
For a listing of the port numbers used by default, see [Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md).
9494

9595
> [!WARNING]
96-
> You can choose to run the remote tools in No Authentication mode, but this mode is strongly discouraged. There is no network security when you run in this mode. Choose the No Authentication mode only if you are sure that the network is not at risk from malicious or hostile traffic.
96+
> You can choose to run the remote tools in No Authentication mode, but this mode is strongly discouraged. There's no network security when you run in this mode. Choose the No Authentication mode only if you're sure that the network isn't at risk from malicious or hostile traffic.
9797
9898
## <a name="bkmk_configureService"></a> (Optional) Configure the remote debugger as a service
9999

100100
For debugging in ASP.NET and other server environments, you must either run the remote debugger as an Administrator or, if you want it always running, run the remote debugger as a service.
101101

102102
If you want to configure the remote debugger as a service, follow these steps.
103103

104-
1. Find the **Remote Debugger Configuration Wizard** (rdbgwiz.exe). (This is a separate application from the Remote Debugger.) It is available only when you install the remote tools. It is not installed with Visual Studio.
104+
1. Find the **Remote Debugger Configuration Wizard** (rdbgwiz.exe). (This is a separate application from the Remote Debugger.) It is available only when you install the remote tools. It isn't installed with Visual Studio.
105105

106106
2. Start running the configuration wizard. When the first page comes up, click **Next**.
107107

@@ -113,7 +113,7 @@ For debugging in ASP.NET and other server environments, you must either run the
113113

114114
5. Select the type of network that you want the remote tools to communicate with. At least one network type must be selected. If the computers are connected through a domain, you should choose the first item. If the computers are connected through a workgroup or homegroup, you should choose the second or third items. Click **Next**.
115115

116-
6. If the service can be started, you will see **You have successfully completed the Visual Studio Remote Debugger Configuration Wizard**. If the service cannot be started, you will see **Failed to complete the Visual Studio Remote Debugger Configuration Wizard**. The page also gives some tips to follow to get the service to start.
116+
6. If the service can be started, you'll see **You have successfully completed the Visual Studio Remote Debugger Configuration Wizard**. If the service can't be started, you'll see **Failed to complete the Visual Studio Remote Debugger Configuration Wizard**. The page also gives some tips to follow to get the service to start.
117117

118118
7. Click **Finish**.
119119

docs/debugger/using-the-parallel-stacks-window.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "View threads in the Parallel Stacks window"
33
description: Use Parallel Stacks to help debug multithreaded applications. You can view stack information for all threads, and task-centered call stack information.
4-
ms.date: "03/05/2024"
4+
ms.date: "01/22/2025"
55
ms.topic: "conceptual"
66
f1_keywords:
77
- "vs.debug.parallelstacks"
@@ -148,7 +148,7 @@ When the **Threads** view graph is too large to fit into the window, a **Bird's
148148

149149
::: moniker range="vs-2019"
150150

151-
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Six threads are in the current method. One continues to Thread.Sleep, and another continues to Console.WriteLine and then to SyncTextWriter.WriteLine.
151+
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Six threads are in the current method. Two threads continue to Thread.Sleep, and two continue to Console.WriteLine and the current thread continues to SyncTextWriter.WriteLine.
152152

153153
![Screenshot of Threads view in Parallel Stacks window.](../debugger/media/parallel-stack1.png "Threads view in Parallel Stacks window.")
154154

@@ -167,7 +167,7 @@ The following table describes the main features of the **Threads** view:
167167

168168
::: moniker range=">=vs-2022"
169169

170-
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Five threads are in the current method. One continues to ServerClass.InstanceMethod, and another continues to Worker.Thread.Start and then to StartupHook.Initialize.AnonymousMethod.
170+
The following illustration shows the Main thread in a Managed to Native code transition. Five threads are in the current method. Four threads continue executing in the S.C method context, while one worker thread continues in a Managed to Native code transition, setting the name on a worker thread.
171171

172172
[![Screenshot of Threads view in Parallel Stacks window 2022.](../debugger/media/vs-2022/parallel-stacks-toolbar-threads-view.png "Threads view in Parallel Stacks window.")](../debugger/media/vs-2022/parallel-stacks-toolbar-threads-view.png#lightbox)
173173

@@ -181,7 +181,9 @@ The following table describes the main features of the **Threads** view:
181181
|4|Node header|Shows the number of processes/threads, thread name, and thread ID for the node.|
182182
|5|Method|Represents one or more stack frames in the same method.|
183183
|6|Tooltip on method|Appears when you hover over a method. In **Threads** view, the tooltip shows all threads, in a table similar to the **Threads** window. |
184+
|7|Thread description|AI-generated description of the thread. Starting in Visual Studio 2022 version 17.13 Preview 1, this description is present when [Copilot](../ide/visual-studio-github-copilot-install-and-states.md) is installed and activated. |
184185
::: moniker-end
186+
185187
## Tasks view
186188
If your app uses <xref:System.Threading.Tasks.Task?displayProperty=fullName> objects (managed code) or `task_handle` objects (native code) to express parallelism, you can use **Tasks** view. **Tasks** view shows call stacks of tasks instead of threads.
187189

docs/debugger/view-data-in-tabular-visualizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Starting in Visual Studio 2022 version 17.11, you can directly change the **Expr
6060

6161
Starting in Visual Studio 2022 version 17.12 Preview 3, you get IntelliSense support to help you edit the expression.
6262

63-
Starting in Visual Studio 2022 version 17.12 Preview 2, you can get AI assistance to edit the LINQ expression. If you have Copilot activated, click the GitHub [Copilot](../ide/visual-studio-github-copilot-extension.md) icon to open Copilot Chat.
63+
Starting in Visual Studio 2022 version 17.12 Preview 2, you can get AI assistance to edit the LINQ expression. If you have Copilot activated, click the GitHub [Copilot](../ide/visual-studio-github-copilot-install-and-states.md) icon to open Copilot Chat.
6464

6565
:::image type="content" source="../debugger/media/vs-2022/debug-ienumerable-visualizer-edit-expression-copilot.png" alt-text="Screenshot of Copilot button to get help to edit the expression.":::
6666

docs/ide/copilot-free-plan.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'GitHub Copilot Free in Visual Studio'
33
description: Use GitHub Copilot Completions, Chat, and Edits for free in Visual Studio.
4-
ms.date: 1/22/2025
4+
ms.date: 1/23/2025
55
ms.topic: overview
66
author: anandmeg
77
ms.author: meghaanand
@@ -24,8 +24,7 @@ To get started with Copilot Free in Visual Studio, you need:
2424

2525
Set up Copilot Free using Visual Studio as follows:
2626

27-
1. In Visual Studio, select the **GitHub Copilot** badge in the upper-right corner of the IDE.
28-
1. Select **Open Chat Window** from the dropdown.
27+
1. Use **Ctrl+\\** to open the chat window in Visual Studio. You can also select the **GitHub Copilot** badge in the upper-right corner of the IDE, and then select **Open Chat Window** from the dropdown to open chat.
2928
1. Select **Sign up for Copilot Free**.
3029

3130
:::image type="content" source="media/vs-2022/copilot-free/sign-up-for-copilot-free.png" alt-text="Screenshot of Sign up for Copilot Free in the Chat window.":::

docs/javascript/npm-package-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Manage npm packages for Node.js and ASP.NET Core projects
33
description: Manage packages in Visual Studio by using the Node.js package manager (npm) for both Node.js and ASP.NET Core applications.
4-
ms.date: "1/30/2024"
4+
ms.date: "1/21/2025"
55
ms.topic: "how-to"
66
ms.devlang: javascript
77
author: "mikejo5000"

docs/test/getting-started-with-unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Get started with unit testing
33
description: Use Visual Studio to define and run unit tests to maintain code health, and to find errors and faults before your customers do.
4-
ms.date: 01/19/2024
4+
ms.date: 01/21/2025
55
ms.topic: tutorial
66
helpviewer_keywords:
77
- unit testing, create unit test plans

docs/test/run-unit-tests-with-test-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Run Unit Tests with Test Explorer
33
description: Run tests by using Test Explorer in Visual Studio, enable automatic tests after build, view results, group and filter the test list, create playlists, and use shortcuts.
4-
ms.date: 12/3/2024
4+
ms.date: 1/21/2025
55
ms.topic: how-to
66
author: mikejo5000
77
ms.author: mikejo

0 commit comments

Comments
 (0)