Skip to content

Commit 397573f

Browse files
authored
Update Blazor Get Started VS4Mac guidance (#18108)
1 parent 8188c76 commit 397573f

1 file changed

Lines changed: 41 additions & 15 deletions

File tree

aspnetcore/blazor/get-started.md

Lines changed: 41 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Get started with Blazor by building a Blazor app with the tooling o
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 04/30/2020
8+
ms.date: 05/02/2020
99
no-loc: [Blazor, SignalR]
1010
uid: blazor/get-started
1111
---
@@ -25,7 +25,7 @@ To get started with Blazor, follow the guidance for your choice of tooling:
2525

2626
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
2727

28-
1. Install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
28+
1. Install the Blazor WebAssembly Preview template by running the following command:
2929

3030
```dotnetcli
3131
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
@@ -50,9 +50,11 @@ To get started with Blazor, follow the guidance for your choice of tooling:
5050
```dotnetcli
5151
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
5252
```
53+
54+
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
5355

5456
> [!NOTE]
55-
> The [.NET Core SDK version 3.1.201 or later](https://dotnet.microsoft.com/download/dotnet-core/3.1) is **required** to use the 3.2 Preview 4 Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
57+
> The [.NET Core SDK version 3.1.201 or later](https://dotnet.microsoft.com/download/dotnet-core/3.1) is **required** to use the 3.2 Preview Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
5658
5759
1. Install [Visual Studio Code](https://code.visualstudio.com/).
5860

@@ -70,8 +72,6 @@ To get started with Blazor, follow the guidance for your choice of tooling:
7072
dotnet new blazorwasm -o WebApplication1
7173
```
7274

73-
For information on the two Blazor hosting models, *Blazor Server* and *Blazor WebAssembly*, see <xref:blazor/hosting-models>.
74-
7575
1. Open the *WebApplication1* folder in Visual Studio Code.
7676

7777
1. The IDE requests that you add assets to build and debug the project. Select **Yes**.
@@ -84,38 +84,66 @@ To get started with Blazor, follow the guidance for your choice of tooling:
8484

8585
# [Visual Studio for Mac](#tab/visual-studio-mac)
8686

87-
Blazor Server is supported in Visual Studio for Mac. Blazor WebAssembly isn't supported at this time. To build Blazor WebAssembly apps on macOS, follow the guidance on the **.NET Core CLI** tab.
87+
Blazor Server is supported in Visual Studio for Mac. Blazor WebAssembly isn't supported at this time. To create Blazor WebAssembly apps on macOS, follow the guidance on the **.NET Core CLI** tab. For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
8888

8989
1. Install [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
9090

91-
1. Select **File** > **New Solution** or create a **New Project**.
91+
1. Select **File** > **New Solution** or create a **New** project from the **Start Window**.
9292

93-
1. In the sidebar, select **Web and Console** > **App**.
93+
1. In the sidebar, select **.NET Core** > **App**.
9494

9595
1. Select the **Blazor Server App** template. Select **Next**.
9696

97-
For information on the Blazor Server hosting model, see <xref:blazor/hosting-models>.
97+
1. Confirm the following configurations:
9898

99-
1. Confirm that the **Target Framework** is set to **.NET Core 3.1** and select **Next**.
99+
* **Target Framework** set to **.NET Core 3.1**.
100+
* **Authentication** set to **No Authentication**.
101+
102+
Select **Next**.
100103

101104
1. In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
102105

103-
1. Select **Run** > **Run Without Debugging** to run the app *without the debugger*. Run the app with **Start Debugging** or the Run (&#9654;) button to run the app *with the debugger*.
106+
1. Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Debugging isn't supported at this time.
107+
108+
<!-- HOLD FOR 8.6 GA
109+
110+
1. Select **File** > **New Solution** or create a **New** project from the **Start Window**.
111+
112+
1. In the sidebar, select **Web and Console** > **App**.
113+
114+
1. For a Blazor WebAssembly experience, choose the **Blazor WebAssembly App** template. For a Blazor Server experience, choose the **Blazor Server App** template. Select **Next**.
115+
116+
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
117+
118+
1. Confirm the following configurations:
119+
120+
* **Target Framework** set to **.NET Core 3.1**.
121+
* **Authentication** set to **No Authentication**.
122+
123+
Select **Next**.
124+
125+
1. In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
126+
127+
1. Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Run the app with **Run** > **Start Debugging** or the Run (&#9654;) button to run the app *with the debugger*.
128+
129+
-->
104130

105131
If a prompt appears to trust the development certificate, trust the certificate and continue. The user and keychain passwords are required to trust the certificate.
106132

107133
# [.NET Core CLI](#tab/netcore-cli/)
108134

109135
1. Install the [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1).
110136

111-
1. Optionally install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
137+
1. Optionally install the Blazor WebAssembly preview template by running the following command:
112138

113139
```dotnetcli
114140
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
115141
```
142+
143+
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
116144

117145
> [!NOTE]
118-
> The [.NET Core SDK version 3.1.201 or later](https://dotnet.microsoft.com/download/dotnet-core/3.1) is **required** to use the 3.2 Preview 4 Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
146+
> The [.NET Core SDK version 3.1.201 or later](https://dotnet.microsoft.com/download/dotnet-core/3.1) is **required** to use the 3.2 Preview Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
119147
120148
1. For a Blazor Server experience, execute the following commands in a command shell:
121149

@@ -133,8 +161,6 @@ If a prompt appears to trust the development certificate, trust the certificate
133161
dotnet run
134162
```
135163

136-
For information on the two Blazor hosting models, *Blazor Server* and *Blazor WebAssembly*, see <xref:blazor/hosting-models>.
137-
138164
1. In a browser, navigate to `https://localhost:5001`.
139165

140166
---

0 commit comments

Comments
 (0)