Skip to content

Commit 376c24e

Browse files
authored
Merge pull request #13499 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch main)
2 parents f2c4e76 + 0c6a5b2 commit 376c24e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Make sure to install the following:
5151

5252
1. Select **Create**.
5353

54-
Solution Explorer shows the following::
54+
Solution Explorer shows the following:
5555

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

@@ -78,7 +78,7 @@ Make sure to install the following:
7878

7979
This value prevents opening the web page with the source weather data.
8080

81-
>[!NOTE]
81+
> [!NOTE]
8282
> 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.
8383
8484
1. Right-click the solution in Solution Explorer and select **Properties**. Verify that the Startup project settings are set to **Multiple projects**, and that the Action for both projects is set to **Start**.
@@ -90,7 +90,7 @@ Press **F5** or select the **Start** button at the top of the window to start th
9090
- The ASP.NET Core API project running
9191
- The Angular CLI running the ng start command
9292

93-
>[!NOTE]
93+
> [!NOTE]
9494
> Check console output for messages. For example there might be a message to update Node.js.
9595
9696
The Angular app appears and is populated via the API (the localhost port may vary from the screenshot).
@@ -103,7 +103,7 @@ If you don't see the app, see [Troubleshooting](#troubleshooting).
103103

104104
Starting in Visual Studio 2022 version 17.3, you can publish the integrated solution using the Visual Studio Publish tool.
105105

106-
>[!NOTE]
106+
> [!NOTE]
107107
> To use publish, create your JavaScript project using Visual Studio 2022 version 17.3 or later.
108108
109109
1. In Solution Explorer, right-click the **AngularWithASP.Server** project and select **Add** > **Project Reference**.
@@ -118,7 +118,7 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
118118

119119
1. In the `.csproj` file, make sure the project reference includes a `<ReferenceOutputAssembly>` element with the value set to `false`.
120120

121-
This reference should look like the following.
121+
This reference should look like the following:
122122

123123
```xml
124124
<ProjectReference Include="..\angularwithasp.client\angularwithasp.client.esproj">
@@ -192,7 +192,7 @@ If you create the project with [Docker support](../containers/overview.md#prereq
192192
env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'https://localhost:7209';
193193
```
194194

195-
change `https://localhost:7209` to the matching HTTPS port (in this example, `https://localhost:62958`).
195+
Change `https://localhost:7209` to the matching HTTPS port (in this example, `https://localhost:62958`).
196196

197197
1. Restart the app.
198198

docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,12 @@ The XML configuration should be placed directly into `<RunSettings>` node:
260260
Test run parameters provide a way to define variables and values that are available to the tests at run time. Access the parameters using the MSTest <xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Properties%2A?displayProperty=nameWithType> property (or the NUnit [TestContext](https://docs.nunit.org/articles/nunit/writing-tests/TestContext.html)):
261261

262262
```csharp
263-
private string _appUrl;
264263
public TestContext TestContext { get; set; }
265264

266265
[TestMethod] // [Test] for NUnit
267266
public void HomePageTest()
268267
{
269-
string _appUrl = TestContext.Properties["webAppUrl"];
268+
string appUrl = TestContext.Properties["webAppUrl"];
270269
}
271270
```
272271

0 commit comments

Comments
 (0)