Skip to content

Commit fc85b2d

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 370dea3 + ab206bb commit fc85b2d

23 files changed

+138
-125
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,11 @@
990990
"redirect_url": "/visualstudio/ide/how-to-configure-projects-to-target-platforms",
991991
"redirect_document_id": false
992992
},
993+
{
994+
"source_path": "docs/debugger/error-mixed-mode-debugging-for-ia64-processes-is-unsupported.md",
995+
"redirect_url": "/visualstudio/debugger/mixed-mode-debugging-for-ia64-processes-is-unsupported",
996+
"redirect_document_id": false
997+
},
993998
{
994999
"source_path": "docs/debugger/how-to-use-edit-and-continue-csharp.md",
9951000
"redirect_url": "/visualstudio/debugger/edit-and-continue-visual-csharp",
Loading
Loading

docs/azure/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Data providers are making services available via standard protocols, such as ODa
8989

9090
ASP.NET Core provides a comprehensive solution for simple web sites and complex web applications. Azure services can help address many of the needs and solve many of the challenges that arise in web site and web application development. ASP.NET Core web applications frequently use client-side JavaScript.
9191

92+
:::image type="content" source="./media/overview-azure-integration/scalable-ecommerce-web-app.png" alt-text="Diagram of web application example architecture." lightbox="./media/overview-azure-integration/scalable-ecommerce-web-app-high-res.png" :::
93+
9294
### Connect to Azure Cache for Redis
9395

9496
Azure Cache for Redis provides an in-memory data store for Azure services, web sites, and web applications. You can use Azure Cache for Redis as a distributed data or content cache, a session store, a message broker, and more. Supported scenarios include:

docs/debugger/error-mixed-mode-debugging-for-ia64-processes-is-unsupported.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/debugger/index.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,27 @@ landingContent:
8282
- text: Set a watch on variables
8383
url: watch-and-quickwatch-windows.md
8484

85+
- title: Measure performance
86+
linkLists:
87+
- linkListType: tutorial
88+
links:
89+
- text: Get started analyzing CPU usage
90+
url: ../profiling/beginners-guide-to-performance-profiling.md
91+
- text: Get started measuring memory usage
92+
url: ../profiling/memory-usage.md
93+
- linkListType: overview
94+
links:
95+
- text: First look at profiling tools
96+
url: ../profiling/profiling-feature-tour.md
97+
- text: Which tool should I use?
98+
url: ../profiling/choose-performance-tool.md
99+
- text: Ways to run profiling tools
100+
url: ../profiling/running-profiling-tools-with-or-without-the-debugger.md
101+
- linkListType: concept
102+
links:
103+
- text: Understanding performance collection methods
104+
url: ../profiling/understanding-performance-collection-methods-perf-profiler.md
105+
85106
# Card
86107
- title: Collaborate
87108
linkLists:

docs/debugger/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
- name: Mixed mode debugging is supported only when using Microsoft .NET Framework 2.0 or greater
312312
href: error-mixed-mode-debugging-is-supported-only-when-using-microsoft-dotnet-framework-2-0-or-greater.md
313313
- name: Mixed mode debugging for IA64 processes is unsupported
314-
href: error-mixed-mode-debugging-for-ia64-processes-is-unsupported.md
314+
href: mixed-mode-debugging-for-ia64-processes-is-unsupported.md
315315
- name: Mixed-mode debugging for x64 processes is supported only when using Microsoft .NET Framework 4 or greater
316316
href: error-mixed-mode-debugging-for-x64-processes-is-supported-only-when-using-microsoft-dotnet-framework-4-or-greater.md
317317
- name: Remote machine does not appear in a Remote Connections dialog
@@ -704,7 +704,7 @@
704704
href: source-server-security-alert.md
705705
- name: Mixed mode debugging for x64 processes is only supported when using Microsoft.NET Framework 4 or greater
706706
href: mixed-mode-debugging-for-x64-processes-is-only-supported-when-using-microsoft-dotnet-framework-4-or-greater.md
707-
- name: Mixed mode debugging for IA64 processes is unsupported.
707+
- name: Mixed mode debugging for IA64 processes is unsupported
708708
href: mixed-mode-debugging-for-ia64-processes-is-unsupported.md
709709
- name: Mixed Mode Debugging Is Only Supported when Using Microsoft .NET Framework 2.0 or 3.0
710710
href: mixed-mode-debugging-is-only-supported-when-using-microsoft-dotnet-framework-2-0-or-3-0.md

docs/deployment/index.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,21 @@ landingContent:
9595
url: ../azure/azure-deployment-using-github-actions.md
9696
- text: Deploy Entity Framework Core app with GitHub Actions
9797
url: ../azure/end-to-end-deployment-entity-framework-core-github-actions.md
98+
99+
# Card
100+
- title: Deploy Docker containers
101+
linkLists:
102+
- linkListType: how-to-guide
103+
links:
104+
- text: Deploy to Azure Container Registry
105+
url: ../containers/hosting-web-apps-in-docker.md
106+
- text: Deploy to Azure App Service
107+
url: ../containers/deploy-app-service.md
108+
- text: Deploy to Docker Hub
109+
url: ../containers/deploy-docker-hub.md
110+
- text: Deploy without a Dockerfile
111+
url: ../containers/deploy-containerized.md
112+
98113
# Card
99114
- title: Additional deployment types
100115
linkLists:

docs/ide/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ landingContent:
5656
- text: Publish a web site
5757
url: ../deployment/quickstart-deploy-to-a-web-site.md
5858
- text: Access data
59-
url: ../data-tools/create-a-simple-data-application-by-using-adonet.md
59+
url: ../data-tools/accessing-data-in-visual-studio.md
6060
- text: Personalize the IDE
6161
url: ../ide/quickstart-personalize-the-ide.md
6262
- text: Productivity features
Loading
Loading
Loading
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Loading

docs/javascript/tutorial-asp-net-core-with-angular.md

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create an ASP.NET Core app with Angular"
33
description: In this tutorial, you create an app using ASP.NET Core and Angular
4-
ms.date: 04/25/2023
4+
ms.date: 10/16/2023
55
ms.topic: tutorial
66
ms.devlang: javascript
77
author: mikejo5000
@@ -18,7 +18,7 @@ monikerRange: '>= vs-2022'
1818

1919
In this article, you learn how to build an ASP.NET Core project to act as an API backend and an Angular project to act as the UI.
2020

21-
Currently, Visual Studio includes ASP.NET Core Single Page Application (SPA) templates that support Angular and React. The templates provide a built-in Client App folder in your ASP.NET Core projects that contains the base files and folders of each framework.
21+
Visual Studio includes ASP.NET Core Single Page Application (SPA) templates that support Angular and React. The templates provide a built-in Client App folder in your ASP.NET Core projects that contains the base files and folders of each framework.
2222

2323
You can use the method described in this article to create ASP.NET Core Single Page Applications that:
2424

@@ -43,13 +43,13 @@ Make sure to install the following:
4343

4444
1. Search for Angular in the search bar at the top and then select **Angular and ASP.NET Core (Preview)**.
4545

46-
:::image type="content" source="media/vs-2022/angular-choose-template.png" alt-text="Screenshot showing choosing a template":::
46+
:::image type="content" source="media/vs-2022/angular-choose-template.png" alt-text="Screenshot showing choosing a template.":::
4747

48-
1. Give your project and solution a name, and choose **Create**.
48+
1. Name the project **AngularWithASP** and then choose **Create**.
4949

50-
Once the project is created, Solution Explorer should look like this:
50+
Solution Explorer shows the following::
5151

52-
:::image type="content" source="media/vs-2022/asp-net-core-with-angular-solution-explorer.png" alt-text="Screenshot showing Solution Explorer":::
52+
:::image type="content" source="media/vs-2022/asp-net-core-with-angular-solution-explorer.png" alt-text="Screenshot showing Solution Explorer.":::
5353

5454
Compared to the [standalone Angular template](../javascript/tutorial-create-angular-app.md), you see some new and modified files for integration with ASP.NET Core:
5555

@@ -62,30 +62,30 @@ Make sure to install the following:
6262

6363
## Set the project properties
6464

65-
1. In Solution Explorer, right-click the ASP.NET Core project and choose **Properties**.
65+
1. In Solution Explorer, right-click the **AngularWithASP.Server** project and choose **Properties**.
6666

67-
:::image type="content" source="media/vs-2022/asp-net-core-project-properties.png" alt-text="Screenshot showing Open project properties":::
67+
:::image type="content" source="media/vs-2022/asp-net-core-project-properties-angular.png" alt-text="Screenshot showing Open project properties.":::
6868

69-
1. In the Properties page, open the **Debug** tab and select **Open debug launch profiles UI** option. Uncheck the **Launch Browser** option.
69+
1. In the Properties page, open the **Debug** tab and select **Open debug launch profiles UI** option. Uncheck the **Launch Browser** option for the profile named after the ASP.NET Core project (or https, if present).
7070

71-
:::image type="content" source="media/vs-2022/asp-net-core-deselect-launch-browser.png" alt-text="Screenshot showing Debug launch profiles UI":::
71+
:::image type="content" source="media/vs-2022/asp-net-core-deselect-launch-browser-angular.png" alt-text="Screenshot showing Debug launch profiles UI.":::
7272

73-
This prevents opening the web page with the source weather data.
73+
This value prevents opening the web page with the source weather data.
7474

7575
>[!NOTE]
76-
> In Visual Studio, *launch.json* stores the startup settings associated with the **Start** button in the Debug toolbar. Currently, *launch.json* must be located under the *.vscode* folder.
76+
> In Visual Studio, *launch.json* stores the startup settings associated with the **Start** button in the Debug toolbar. *launch.json* must be located under the *.vscode* folder.
7777
7878
## Start the project
7979

80-
To start the project, press **F5** or select the **Start** button at the top of the window. You see two command prompts appear:
80+
Press **F5** or select the **Start** button at the top of the window to start the app. Two command prompts appear:
8181

8282
- The ASP.NET Core API project running
8383
- The Angular CLI running the ng start command
8484

8585
>[!NOTE]
86-
> Check console output for messages, such as a message instructing you to update your version of Node.js.
86+
> Check console output for messages. For example there might be a message to update Node.js.
8787
88-
You see an Angular app appear, populated using the API. If you don't see the app, see [Troubleshooting](#troubleshooting).
88+
The Angular app appears and is populated via the API. If you don't see the app, see [Troubleshooting](#troubleshooting).
8989

9090
## Publish the project
9191

@@ -94,25 +94,29 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
9494
>[!NOTE]
9595
> To use publish, create your JavaScript project using Visual Studio 2022 version 17.3 or later.
9696
97-
1. In Solution Explorer, right-click the ASP.NET Core project and choose **Add** > **Project Reference**.
97+
1. In Solution Explorer, right-click the **AngularWithASP.Server** project and select **Add** > **Project Reference**.
9898

99-
1. Select the Angular project and choose **OK**.
99+
The **angularwithasp.client*** project is selected.
100100

101-
1. Right-click the ASP.NET Core project in Solution Explorer and choose **Unload Project**.
101+
1. Choose **OK**.
102+
103+
1. Right-click the ASP.NET Core project again and select **Edit Project File**.
102104

103105
This opens the *.csproj* file for the project.
104106

107+
Notice the `<ReferenceOutputAssembly>` has the value set to `false`.
108+
105109
1. In the *.csproj* file, update the project reference and add `<ReferenceOutputAssembly>` with the value set to `false`.
106110

107-
When you've updated the reference, it should look like this (substituting your own project folder and project name).
111+
When you've updated the reference, it should look like the following.
108112

109113
```xml
110-
<ProjectReference Include="..\angularprojectfolder\angularprojectname.esproj">
111-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
112-
</ProjectReference>
114+
<ProjectReference Include="..\angularwithasp.client\angularwithasp.client.esproj">
115+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
116+
</ProjectReference>
113117
```
114118

115-
1. Right.click the ASP.NET Core project and choose **Reload Project**.
119+
1. Right-click the ASP.NET Core project and choose **Reload Project**.
116120

117121
1. In *Program.cs*, update the check for `Environment.IsDevelopment` so it looks like the following.
118122

@@ -130,7 +134,7 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
130134
}
131135
```
132136

133-
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, et al.
137+
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, etc.
134138

135139
The publish process takes more time than it does for just an ASP.NET Core project, since the `npm run build` command gets invoked when publishing.
136140

@@ -150,7 +154,7 @@ If you see this issue, most likely the frontend started before the backend. Once
150154

151155
### Verify port
152156

153-
If the weather data does not load correctly, you may also need to verify that your ports are correct.
157+
If the weather data doesn't load correctly, you may also need to verify that your ports are correct.
154158

155159
1. Go to the *launchSettings.json* file in your ASP.NET Core project (in the *Properties* folder). Get the port number from the `applicationUrl` property.
156160

@@ -164,4 +168,4 @@ If the weather data does not load correctly, you may also need to verify that yo
164168

165169
## Next steps
166170

167-
For more information about SPA applications in ASP.NET Core, see the Angular section under [Developing Single Page Apps](/aspnet/core/client-side/spa/intro#developing-single-page-apps). The linked article provides additional context for project files such as *aspnetcore-https.js* and *proxy.conf.js*, although details of the implementation are different due to project template differences. For example, instead of a ClientApp folder, the Angular files are contained in a separate project.
171+
For more information about SPA applications in ASP.NET Core, see the Angular section under [Developing Single Page Apps](/aspnet/core/client-side/spa/intro#developing-single-page-apps). The linked article provides additional context for project files such as *aspnetcore-https.js* and *proxy.conf.js*, although details of the implementation are different due to project template differences. For example, instead of a ClientApp folder, the Angular files are contained in a separate project.

0 commit comments

Comments
 (0)