Skip to content
22 changes: 7 additions & 15 deletions aspnetcore/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ uid: get-started

:::moniker range=">= aspnetcore-8.0"

This tutorial shows how to create, run, and modify an ASP.NET Core Blazor Web App using the .NET CLI.
This tutorial shows how to create, run, and modify an ASP.NET Core Blazor Web App using the .NET CLI. *Blazor* is a .NET frontend web framework that supports both server-side rendering and client interactivity in a single programming model.

You'll learn how to:

Expand Down Expand Up @@ -60,7 +60,7 @@ Using the app's sidebar navigation, visit the Counter page, where you can select

Leave the browser open with the Counter page loaded. By using the `dotnet watch` command to run the app, you can make changes to the app's markup and code without having to rebuild the app to reflect the changes in the browser.

The `Counter` Razor component that renders the Counter web page is located at `Components/Pages/Counter.razor` in the project.
The `Counter` Razor component that renders the Counter web page is located at `Components/Pages/Counter.razor` in the project. *Razor* is a syntax for combining HTML markup with C# code designed for developer productivity.

Open the `Counter.razor` file in a text editor and note a few interesting lines that render content and make the component's counter feature work.

Expand Down Expand Up @@ -99,7 +99,7 @@ The title of the page is set by `<PageTitle>` tags:
<PageTitle>Counter</PageTitle>
```

An H1 heading is displayed to the user:
An H1 heading is displayed:

```razor
<h1>Counter</h1>
Expand All @@ -117,15 +117,7 @@ A button (`<button>`) allows the user to increment the counter, which occurs whe
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
```

C# code is present in the `@code` block:

```razor
@code {
...
}
```

Within the `@code` block:
The `@code` block contains C# code that the component executes:

* The counter variable `currentCount` is established with an initial value of zero.
* The `IncrementCount` method is defined. The code within the method increments the `currentCount` variable by one each time the method is invoked.
Expand Down Expand Up @@ -156,10 +148,10 @@ As soon as you save the file, the running app is updated automatically because y

## Shut the app down

To shut down the app:
Follow these steps:

* Close the browser window.
* Press <kbd>Ctrl</kbd>+<kbd>C</kbd> in the command shell.
* To shut down the app, press <kbd>Ctrl</kbd>+<kbd>C</kbd> in the command shell.

*Congratulations!* You've successfully completed this tutorial.

Expand Down Expand Up @@ -259,4 +251,4 @@ In this tutorial, you learned how to:
To learn more about ASP.NET Core, see the following:

> [!div class="nextstepaction"]
> <xref:index#recommended-learning-path>
> <xref:index>