Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop hosting model pivot #29671

Merged
merged 1 commit into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions aspnetcore/blazor/tutorials/build-a-blazor-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ms.author: riande
ms.custom: mvc
ms.date: 11/08/2022
uid: blazor/tutorials/build-a-blazor-app
zone_pivot_groups: blazor-hosting-models
---
# Build a Blazor todo list app

Expand Down Expand Up @@ -38,10 +37,10 @@ At the end of this tutorial, you'll have a working todo list app.

## Create a Blazor app

Create a new Blazor app named `TodoList` in a command shell:

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

Create a new Blazor app named `TodoList` in a command shell:

```dotnetcli
dotnet new blazor -o TodoList
```
Expand All @@ -50,21 +49,19 @@ dotnet new blazor -o TodoList

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

:::zone pivot="server"
Use either of the following hosting models to create a new Blazor app named `TodoList` in a command shell:

```dotnetcli
dotnet new blazorserver -o TodoList
```

:::zone-end
* For an experience with Blazor Server, create the app with the following command:

:::zone pivot="webassembly"
```dotnetcli
dotnet new blazorserver -o TodoList
```

```dotnetcli
dotnet new blazorwasm -o TodoList
```
* For an experience with Blazor WebAssembly, create the app with the following command:

:::zone-end
```dotnetcli
dotnet new blazorwasm -o TodoList
```

:::moniker-end

Expand Down