Skip to content

Commit 509fc3a

Browse files
authored
Merge pull request #4345 from MicrosoftDocs/master
Merge to live for VS 2019 release
2 parents d4bea28 + 8902953 commit 509fc3a

File tree

218 files changed

+1673
-1057
lines changed

Some content is hidden

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

218 files changed

+1673
-1057
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,11 @@
22052205
"redirect_url": "/visualstudio/port-migrate-and-upgrade-visual-studio-projects",
22062206
"redirect_document_id": false
22072207
},
2208+
{
2209+
"source_path": "docs/porting/port-migrate-upgrade-visual-studio-projects-2019.md",
2210+
"redirect_url": "/visualstudio/porting/port-migrate-and-upgrade-visual-studio-projects",
2211+
"redirect_document_id": false
2212+
},
22082213
{
22092214
"source_path": "docs/profiling/analyze-cpu-usage-in-a-windows-universal-app.md",
22102215
"redirect_url": "/visualstudio/profiling/beginners-guide-to-performance-profiling",

docs/azure/vs-azure-tools-publishing-using-powershell-scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Using these scripts, you can provision customized versions (also known as dev an
1818

1919
## Prerequisites
2020

21-
* Visual Studio 2015 or later with the **Azure workload** installed, or Visual Studio 2013 and Azure SDK 2.3 or later. See [Visual Studio Downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc). (You don't need the Azure SDK to generate the scripts for web projects. This feature is for web projects, not web roles in cloud services.)
21+
* Visual Studio 2015 or later with the **Azure workload** installed, or Visual Studio 2013 and Azure SDK 2.3 or later. See [Visual Studio Downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019). (You don't need the Azure SDK to generate the scripts for web projects. This feature is for web projects, not web roles in cloud services.)
2222
* Azure PowerShell 0.7.4 or later. See [How to install and configure Azure PowerShell](/powershell/azure/overview).
2323
* [Windows PowerShell 3.0](http://go.microsoft.com/?linkid=9811175) or later.
2424

docs/azure/vs-azure-tools-resources-managing-with-cloud-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Like the [Azure portal](http://go.microsoft.com/fwlink/p/?LinkID=525040), Cloud
1818

1919
## Prerequisites
2020

21-
* Visual Studio 2017 or later (see [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc)) with the **Azure workload** selected. You can also use an earlier version of Visual Studio with the [Microsoft Azure SDK for .NET 2.9](https://www.microsoft.com/download/details.aspx?id=51657).
21+
* Visual Studio 2017 or later (see [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019)) with the **Azure workload** selected. You can also use an earlier version of Visual Studio with the [Microsoft Azure SDK for .NET 2.9](https://www.microsoft.com/download/details.aspx?id=51657).
2222
* Microsoft Azure account - If you don't have an account, you can [sign up for a free trial](http://go.microsoft.com/fwlink/?LinkId=623901) or [activate your Visual Studio subscriber benefits](http://go.microsoft.com/fwlink/?LinkId=623901).
2323

2424
> [!NOTE]

docs/containers/docker-deploy-app-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To complete this tutorial:
2323
- Install the latest version of [Visual Studio 2017](https://azure.microsoft.com/downloads/) with the "ASP.NET and web development" workload
2424
::: moniker-end
2525
::: moniker range=">=vs-2019"
26-
- [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the *ASP.NET and web development* workload.
26+
- [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.
2727
::: moniker-end
2828
- Install [Docker Desktop](https://docs.docker.com/docker-for-windows/install/)
2929

docs/containers/includes/vs-2019/docker-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ With Visual Studio, you can easily build, debug, and run containerized ASP.NET C
1414
## Prerequisites
1515

1616
* [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
17-
* [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the **Web Development**, **Azure Tools** workload, and/or **.NET Core cross-platform development** workload installed
17+
* [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 **Web Development**, **Azure Tools** workload, and/or **.NET Core cross-platform development** workload installed
1818
* [.NET Core 2.2 Development Tools](https://dotnet.microsoft.com/download/dotnet-core/2.2) for development with .NET Core 2.2
1919
* To publish to Azure Container Registry, an Azure subscription. [Sign up for a free trial](https://azure.microsoft.com/en-us/offers/ms-azr-0044p/).
2020

docs/containers/tutorial-kubernetes-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To leverage this new functionality, you'll need:
2424
- The [Kubernetes tools for Visual Studio](https://aka.ms/get-vsk8stools), available as a separate download.
2525
::: moniker-end
2626
::: moniker range="vs-2019"
27-
- [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the *ASP.NET and web development* workload.
27+
- [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.
2828
::: moniker-end
2929
- [Docker Desktop](https://store.docker.com/editions/community/docker-ce-desktop-windows) installed on your development workstation (that is, where you run Visual Studio), if you wish to build Docker images, debug Docker containers running locally, or publish to AKS. (Docker is *not* required for building and debugging Docker containers in AKS using Azure Dev Spaces.)
3030
::: moniker range="vs-2017"

docs/containers/tutorial-multicontainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In this tutorial, you'll learn how to manage more than one container and communi
2222

2323
::: moniker range=">= vs-2019"
2424
* [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
25-
* [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the **Web Development**, **Azure Tools** workload, and/or **.NET Core cross-platform development** workload installed
25+
* [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 **Web Development**, **Azure Tools** workload, and/or **.NET Core cross-platform development** workload installed
2626
* [.NET Core 2.2 Development Tools](https://dotnet.microsoft.com/download/dotnet-core/2.2) for development with .NET Core 2.2
2727
::: moniker-end
2828

docs/containers/vs-azure-tools-docker-edit-and-refresh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following tools must be installed.
3232

3333
::: moniker range="vs-2019"
3434

35-
* [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the Web Development workload installed.
35+
* [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 Web Development workload installed.
3636

3737
::: moniker-end
3838

docs/containers/vs-azure-tools-docker-hosting-web-apps-in-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To complete this tutorial:
2727
* Install the latest version of [Visual Studio 2017](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2017)with the "ASP.NET and web development" workload
2828
::: moniker-end
2929
::: moniker range=">=vs-2019"
30-
* Install the latest version of [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019+rc) with the "ASP.NET and web development" workload
30+
* Install the latest version of [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
3131
::: moniker-end
3232
* Install [Docker for Windows](https://docs.docker.com/docker-for-windows/install/)
3333

docs/debugger/debug-live-azure-applications.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,40 +44,29 @@ In this tutorial, you will:
4444

4545
> [!IMPORTANT]
4646
> To snapshot debug, you need to open the *same version of source code* that is published to your Azure App Service.
47-
::: moniker range="vs-2019"
47+
::: moniker range="<=vs-2017"
4848

4949
2. In the Cloud Explorer (**View > Cloud Explorer**), right-click the Azure App Service your project is deployed to and select **Attach Snapshot Debugger**.
5050

5151
![Launch the snapshot debugger](../debugger/media/snapshot-launch.png)
5252

53-
The first time you select **Attach Snapshot Debugger**, you're prompted to install the Snapshot Debugger site extension on your Azure App Service. This installation requires a restart of your Azure App Service.
54-
5553
::: moniker-end
56-
::: moniker range=">= vs-2019"
57-
2. Attach the Snapshot Debugger. You can use one of several different methods:
58-
59-
* Choose **Debug > Attach Snapshot Debugger...**. Select the Azure App Service your project is deployed to and an Azure storage account, and then click **Attach**.
54+
::: moniker range=">=vs-2019"
55+
2. Choose **Debug > Attach Snapshot Debugger...**. Select the Azure App Service your project is deployed to and an Azure storage account, and then click **Attach**.
6056

6157
![Launch the snapshot debugger from the Debug menu](../debugger/media/snapshot-debug-menu-attach.png)
6258

63-
* Right click on your project and select **Publish**, and then on the Publish page click **Attach Snapshot Debugger**. Select the Azure App Service your project is deployed to and an Azure storage account, and then click **Attach**.
64-
![Launch the snapshot debugger from the Publish page](../debugger/media/snapshot-publish-attach.png)
65-
66-
* In the Debug target drop-down menu select **Snapshot Debugger**, hit **F5** and if necessary select the Azure App Service your project is deployed to and an Azure storage account, and then click **Attach**.
67-
![Launch the snapshot debugger from the F5 drop-down menu](../debugger/media/snapshot-F5-dropdown-attach.png)
68-
69-
* Using the Cloud Explorer (**View > Cloud Explorer**), right-click the Azure App Service your project is deployed to and select an Azure storage account, and then click **Attach Snapshot Debugger**.
59+
![Select Azure Resource](../debugger/media/snapshot-select-azure-resource-appservices.png)
7060

71-
![Launch the snapshot debugger from the Cloud Explorer](../debugger/media/snapshot-launch.png)
72-
73-
The first time you select **Attach Snapshot Debugger**, you're prompted to install the Snapshot Debugger site extension on your Azure App Service. This installation requires a restart of your Azure App Service.
7461
::: moniker-end
7562

76-
Visual Studio is now in snapshot debugging mode.
63+
> [!IMPORTANT]
64+
> The first time you select **Attach Snapshot Debugger**, you're prompted to install the Snapshot Debugger site extension on your Azure App Service. This installation requires a restart of your Azure App Service.
7765
7866
> [!NOTE]
7967
> The Application Insights site extension also supports Snapshot Debugging. If you encounter a "site extension out of date" error message, see [troubleshooting tips and known issues for snapshot debugging](../debugger/debug-live-azure-apps-troubleshooting.md) for upgrading details.
8068
69+
Visual Studio is now in snapshot debugging mode.
8170
![Snapshot debugging mode](../debugger/media/snapshot-message.png)
8271

8372
The **Modules** window shows you when all the modules have loaded for the Azure App Service (choose **Debug > Windows > Modules** to open this window).
@@ -151,7 +140,7 @@ In addition to taking a snapshot when a snappoint is hit, you can also configure
151140

152141
If you choose **Send to Output Window**, when the logpoint is hit, the message appears in the Diagnostic Tools window.
153142

154-
![Logpoint data in the diagsession window](../debugger/media/snapshot-logpoint-output.png)
143+
![Logpoint data in the Diagnostic Tools window](../debugger/media/snapshot-logpoint-output.png)
155144

156145
If you choose **Send to application log**, when the logpoint is hit, the message appears anywhere that you can see messages from `System.Diagnostics.Trace` (or `ILogger` in .NET Core), such as [App Insights](/azure/application-insights/app-insights-asp-net-trace-logs).
157146

docs/debugger/debug-live-azure-apps-faq.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@ Here is a list of questions that might come up when debugging live Azure applica
1717

1818
#### What is the performance cost of taking a snapshot?
1919

20-
When the Snapshot Debugger captures a snapshot of your app, it is forking the app's process and suspending the forked copy. When you debug a snapshot, you are debugging against the forked copy of the process. This process takes only 10-20 milliseconds but does not copy the full heap of the app. Instead, it copies only the page table and sets pages to copy on write. If some of your app's objects on the heap change, their respective pages are then copied. Each snapshot therefore has a small in-memory cost (on the order of hundreds of kilobytes for most apps).
20+
When the Snapshot Debugger captures a snapshot of your app, it forks the app's process and suspends the forked copy. When you debug a snapshot, you're debugging against the forked copy of the process. This process takes only 10-20 milliseconds but doesn't copy the full heap of the app. Instead, it copies only the page table and sets pages to copy on write. If some of your app's objects on the heap change, their respective pages are then copied. That's whey each snapshot has a small in-memory cost (on the order of hundreds of kilobytes for most apps).
2121

2222
#### What happens if I have a scaled-out Azure App Service (multiple instances of my app)?
2323

24-
When you have multiple instances of your app, snappoints get applied to every single instance. Only the first snappoint to hit with the conditions specified creates a snapshot. If you have multiple snappoints, subsequent snapshots come from the same instance that created the first snapshot. Logpoints sent to the output window will only show messages from one instance, while logpoints sent to application logs send messages from every instance.
24+
When you have multiple instances of your app, snappoints get applied to every single instance. Only the first snappoint to hit with the conditions specified creates a snapshot. If you have multiple snappoints, later snapshots come from the same instance that created the first snapshot. Logpoints sent to the output window will only show messages from one instance, while logpoints sent to application logs send messages from every instance.
2525

2626
#### How does the Snapshot Debugger load symbols?
2727

28-
The Snapshot Debugger requires that you have the matching symbols for your application either local or deployed to your Azure App Service. (Embedded PDBs are currently not supported.) The Snapshot Debugger automatically downloads symbols from your Azure App Service. As of Visual Studio 2017 version 15.2, deploying to Azure App Service also deploys your app's symbols.
28+
The Snapshot Debugger requires that you have the matching symbols for your application either local or deployed to your Azure App Service. (Embedded PDBs are currently not supported.) The Snapshot Debugger automatically downloads symbols from your Azure App Service. Starting with Visual Studio 2017 version 15.2, deploying to Azure App Service also deploys your app's symbols.
2929

3030
#### Does the Snapshot Debugger work against release builds of my application?
3131

32-
Yes - the Snapshot Debugger is intended to work against release builds. When a snappoint is placed in a function, the function is recompiled back to a debug version, making it debuggable. When you stop the Snapshot Debugger, the functions are returned to their release build.
32+
Yes - the Snapshot Debugger is intended to work against release builds. When a snappoint is placed in a function, the function is recompiled back to a debug version, making it debuggable. Stopping the Snapshot Debugger returns functions to the version of the release build.
3333

3434
#### Can logpoints cause side effects in my production application?
3535

36-
No - any log messages you add to your app are evaluated virtually. They cannot cause any side effects in your application. However, some native properties may not be accessible with logpoints.
36+
No - any log messages you add to your app are evaluated virtually. They can't cause any side effects in your application. However, some native properties may not be accessible with logpoints.
3737

3838
#### Does the Snapshot Debugger work if my server is under load?
3939

40-
Yes, snapshot debugging can work for servers under load. The Snapshot Debugger throttles and does not capture snapshots in situations where there is a low amount of free memory on your server.
40+
Yes, snapshot debugging can work for servers under load. The Snapshot Debugger throttles and doesn't capture snapshots in situations where there's a low amount of free memory on your server.
4141

4242
#### How do I uninstall the Snapshot Debugger?
4343

@@ -47,6 +47,10 @@ You can uninstall the Snapshot Debugger site extension on your App Service with
4747
1. Navigate to your App Service's Kudu site (that is, yourappservice.**scm**.azurewebsites.net) and navigate to **Site extensions**.
4848
1. Click the X on the Snapshot Debugger site extension to remove it.
4949

50+
#### Why are ports opened during a Snapshot Debugger session?
51+
52+
Snapshot Debugger needs to open a set of ports in order to debug the snapshots taken in Azure, these are the same ports required for remote debugging. [You can find the list of ports here](../debugger/remote-debugger-port-assignments.md).
53+
5054
## See also
5155

5256
- [Debugging in Visual Studio](../debugger/index.md)

0 commit comments

Comments
 (0)