You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -84,51 +84,52 @@ To get started with Blazor, follow the guidance for your choice of tooling:
84
84
85
85
# [Visual Studio for Mac](#tab/visual-studio-mac)
86
86
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>.
87
+
> [!NOTE]
88
+
> Blazor Server is supported in Visual Studio for Mac 8.4 or later, and Blazor WebAssembly support is included in Visual Studio for Mac 8.6 or later.
88
89
89
90
1. Install [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
90
91
91
-
1.Select **File** > **New Solution** or create a **New** project from the **Start Window**.
92
+
1.In Visual Studio for Mac versions prior to 8.6:
92
93
93
-
1. In the sidebar, select**.NET Core** > **App**.
94
+
* Select**File** > **New Solution** or create a **New** project from the **Start Window**.
94
95
95
-
1. Select the **Blazor Server App** template. Select **Next**.
96
+
* In the sidebar, select **.NET Core** > **App**.
96
97
97
-
1. Confirm the following configurations:
98
+
* Select the **Blazor Server App** template. Select **Next**.
98
99
99
-
***Target Framework** set to **.NET Core 3.1**.
100
-
***Authentication** set to **No Authentication**.
100
+
* Confirm the following configurations:
101
+
102
+
***Target Framework** set to **.NET Core 3.1**.
103
+
***Authentication** set to **No Authentication**.
101
104
102
-
Select **Next**.
105
+
Select **Next**.
103
106
104
-
1. In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
107
+
* In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
105
108
106
-
1. Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Debugging isn't supported at this time.
109
+
* Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Debugging isn't supported at this time.
107
110
108
-
<!-- HOLD FOR 8.6 GA
111
+
In the preview of Visual Studio for Mac version 8.6, which uses the [Preview channel](/visualstudio/mac/update):
109
112
110
-
1. Select **File** > **New Solution** or create a **New** project from the **Start Window**.
113
+
* Select **File** > **New Solution** or create a **New** project from the **Start Window**.
111
114
112
-
1. In the sidebar, select **Web and Console** > **App**.
115
+
* In the sidebar, select **Web and Console** > **App**.
113
116
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**.
117
+
* 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
118
116
-
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
119
+
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
117
120
118
-
1. Confirm the following configurations:
121
+
* Confirm the following configurations:
119
122
120
-
* **Target Framework** set to **.NET Core 3.1**.
121
-
* **Authentication** set to **No Authentication**.
123
+
***Target Framework** set to **.NET Core 3.1**.
124
+
***Authentication** set to **No Authentication**.
122
125
123
-
Select **Next**.
124
-
125
-
1. In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
126
+
Select **Next**.
126
127
127
-
1. Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Run the app with **Run** > **Start Debugging** or the Run (▶) button to run the app *with the debugger*.
128
+
* In the **Project Name**field, name the app `WebApplication1`. Select **Create**.
128
129
129
-
-->
130
+
* Select **Run** > **Start Without Debugging** to run the app *without the debugger*. Run the app with **Run** > **Start Debugging** or the Run (▶) button to run the app *with the debugger*.
130
131
131
-
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.
132
+
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.
1.In Visual Studio for Mac earlier than version 8.6, select **File** > **New Solution** > **.NET Core** > **App** from the sidebar. In version 8.6 or later, select **File** > **New Solution** > **Web and Console** > **App** from the sidebar.
178
178
1. Select the **ASP.NET Core Web API** C# project template, and select **Next**.
179
179
1. Select **.NET Core 3.0** from the **Target Framework** drop-down list, and select **Next**.
180
180
1. Enter *BooksApi* for the **Project Name**, and select **Create**.
@@ -524,7 +524,7 @@ The database is ready. You can start creating the ASP.NET Core web API.
1.In Visual Studio for Mac earlier than version 8.6, select **File** > **New Solution** > **.NET Core** > **App** from the sidebar. In version 8.6 or later, select **File** > **New Solution** > **Web and Console** > **App** from the sidebar.
528
528
1. Select the **ASP.NET Core Web API** C# project template, and select **Next**.
529
529
1. Select **.NET Core 2.2** from the **Target Framework** drop-down list, and select **Next**.
530
530
1. Enter *BooksApi* for the **Project Name**, and select **Create**.

92
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application (Model-View-Controller)** > **Next** from the sidebar. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next** from the sidebar.
95
93
96
94
* In the **Configure your new ASP.NET Core Web API** dialog, set the **Target Framework** of **.NET Core 3.1**.
97
95
@@ -237,9 +235,7 @@ The tutorial assumes familarity with VS Code. See [Getting started with VS Code]
237
235
238
236


238
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
243
239
244
240
* In the **Configure your new ASP.NET Core Web API** dialog, accept the default **Target Framework** of **.NET Core 2.2**.

101
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **API** > **Next** from the sidebar. In version 8.6 or later, select **Web and Console** > **App** > **API** > **Next** from the sidebar.
104
102
105
103
* In the **Configure your new ASP.NET Core Web API** dialog, select **Target Framework** of **.NET Core 3.1*.
106
104
@@ -578,9 +576,7 @@ The following diagram shows the design of the app.
578
576
579
577


579
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **API** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **API** > **Next**.
584
580
585
581
* In the **Configure your new ASP.NET Core Web API** dialog, accept the default **Target Framework** of **.NET Core 2.2*.

95
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application** > **Next** from the sidebar. In version 8.6 or later, select **Web and Console** > **App** > **Web Application** > **Next** from the sidebar.
98
96
99
97
* In the **Configure your new Web Application** dialog, set the **Target Framework** to **.NET Core 3.1**.
100
98
@@ -237,9 +235,7 @@ At the end of this tutorial, you'll have a working Razor Pages web app that you'
237
235
238
236


238
+
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application** > **Next**.
243
239
244
240
* In the **Configure your new ASP.NET Core Web API** dialog, set the **Target Framework** to **.NET Core 3.1**.
@@ -89,13 +89,33 @@ Follow the guidance for your choice of tooling:
89
89
90
90
# [Visual Studio for Mac](#tab/visual-studio-mac)
91
91
92
-
1.In a command shell, execute the following command:
92
+
1.If you don't wish to install the preview of Visual Studio for Mac version 8.6, open a command shell and execute the following command:
93
93
94
94
```dotnetcli
95
95
dotnet new blazorwasm --hosted --output BlazorSignalRApp
96
96
```
97
97
98
-
1. In Visual Studio for Mac, open the project by navigating to the project folder and opening the project's solution file (*.sln*).
98
+
1. To use the preview of Visual Studio for Mac version 8.6, install [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/), use the [Preview channel](/visualstudio/mac/update), and perform the following steps:
99
+
100
+
* Select **File** > **New Solution** or create a **New** project from the **Start Window**.
101
+
102
+
* In the sidebar, select **Web and Console** > **App**.
103
+
104
+
* For a Blazor WebAssembly experience, choose the **Blazor WebAssembly App** template.
105
+
106
+
* Confirm the following configurations:
107
+
108
+
* Select the **ASP.NET Core hosted** check box.
109
+
***Target Framework** set to **.NET Core 3.1**.
110
+
***Authentication** set to **No Authentication**.
111
+
112
+
Select **Next**.
113
+
114
+
* In the **Project Name** field, name the app `BlazorSignalRApp`. Select **Create**.
115
+
116
+
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.
117
+
118
+
1. Open the project by navigating to the project folder and opening the project's solution file (*.sln*).
0 commit comments