Skip to content

Commit 49558ea

Browse files
committed
Added spaces around zone-pivot
1 parent 8b081c9 commit 49558ea

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

learn-pr/aspnetcore/build-your-first-aspnet-core-web-app/includes/3-exercise-create-project.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ From a terminal or the command line, create a new project:
5959
::: zone-end
6060
6161
::: zone pivot="vscode"
62+
6263
The *MyWebApp* project folder contents are displayed in the Visual Studio Code **Explorer**:
6364
6465
:::image type="content" source="../media/vsc-explorer-project-files.png" alt-text="The project files in the Visual Studio Code Explorer":::
66+
6567
::: zone-end
6668
6769
The following sections contain an overview of the main project folders and files of the empty ASP.NET Core project:
@@ -80,7 +82,9 @@ The *.csproj* project file is used to:
8082
When an ASP.NET Core project is created or opened in Visual Studio Code (with the C# Dev Kit extension), it creates a *[project name].sln* solution file. The *[project name].sln* solution file contains information for one or more related projects, including build information, settings, and any miscellaneous files that aren’t associated with just one particular project.
8183
8284
::: zone-end
85+
8386
::: zone pivot="shell"
87+
8488
::: zone-end
8589
8690
### The *obj* folder
@@ -93,7 +97,7 @@ The *Properties/launchSettings.json* file contains configuration data for how th
9397
9498
The *launchSettings.json* file contains the following configuration:
9599
96-
[!code-json[](../code/MyWebApp/Properties/launchSettings.json)]
100+
[!code-json[](../code/mywebapp/properties/launchSettings.json)]
97101
98102
### The *Program.cs* file
99103
@@ -106,15 +110,15 @@ The *Program.cs* file serves as the entry point for an ASP.NET Core app and has
106110
107111
In the new empty ASP.NET Core project you created, the *Program.cs* file contains the following minimal code:
108112
109-
[!code-csharp[](../code/MyWebApp/Program.cs?name=snippet_all)]
113+
[!code-csharp[](../code/mywebapp/program.cs?name=snippet_all)]
110114
111115
The following lines of code in this file create a `WebApplicationBuilder` with preconfigured defaults, and builds the app:
112116
113-
[!code-csharp[](../code/MyWebApp/Program.cs?name=snippet_web_application_builder)]
117+
[!code-csharp[](../code/mywebapp/program.cs?name=snippet_web_application_builder)]
114118
115119
The `app.MapGet()` method directly defines an endpoint that handles HTTP GET requests:
116120
117-
[!code-csharp[](../code/MyWebApp/Program.cs?name=snippet_web_mapget)]
121+
[!code-csharp[](../code/mywebapp/program.cs?name=snippet_web_mapget)]
118122
119123
`app.MapGet("/")`: Defines a route for the HTTP GET request. The `/` indicates this route responds to the requests made to the root URL of the app. For example, `http://localhost:{port}/`, where `{port}` is a randomly assigned port number assigned in the *Properties/launchSettings.json* file at project creation.
120124

learn-pr/aspnetcore/build-your-first-aspnet-core-web-app/includes/4-exercise-run-project.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Run the web app in Visual Studio Code and view in a browser:
3737
- Press <kbd>Shift</kbd>+<kbd>F5</kbd> on the keyboard.
3838

3939
::: zone-end
40+
4041
::: zone pivot="shell"
4142

4243
Run the web app using the .NET CLI:

learn-pr/aspnetcore/build-your-first-aspnet-core-web-app/includes/5-exercise-make-code-changes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ Run the web app using the `dotnet watch` command from the command line:
1313
In Visual Studio Code, if the integrated terminal pane isn't already available, select **New Terminal** from the **Terminal** menu to open the integrated terminal.
1414

1515
::: zone-end
16+
1617
::: zone pivot="shell"
18+
1719
::: zone-end
20+
1821
1. Build and Run the app with the following command:
1922

2023
```dotnetcli

0 commit comments

Comments
 (0)