Skip to content

Commit 8aa7e33

Browse files
authored
[3.2-RC] Blazor Release Candidate Updates (#18066)
1 parent 4f9dbde commit 8aa7e33

File tree

10 files changed

+29
-23
lines changed

10 files changed

+29
-23
lines changed

aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/BlazorSample.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-preview5.20216.8" />
10-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-preview5.20216.8" PrivateAssets="all" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-preview5.20216.8" PrivateAssets="all" />
12-
<PackageReference Include="System.Net.Http.Json" Version="3.2.0-preview5.20210.3" />
9+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-rc1.20223.4" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
12+
<PackageReference Include="System.Net.Http.Json" Version="3.2.0-rc1.20217.1" />
1313
</ItemGroup>
1414

1515
</Project>

aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/_Imports.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@using Microsoft.AspNetCore.Components.Forms
44
@using Microsoft.AspNetCore.Components.Routing
55
@using Microsoft.AspNetCore.Components.Web
6+
@using Microsoft.AspNetCore.Components.WebAssembly.Http
67
@using Microsoft.JSInterop
78
@using BlazorSample
89
@using BlazorSample.Shared

aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Blazor WebAssembly Sample</title>
88
<base href="/" />
99
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
10-
<link href="css/site.css" rel="stylesheet" />
10+
<link href="css/app.css" rel="stylesheet" />
1111
</head>
1212

1313
<body>

aspnetcore/blazor/get-started.md

Lines changed: 9 additions & 9 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/16/2020
8+
ms.date: 04/30/2020
99
no-loc: [Blazor, SignalR]
1010
uid: blazor/get-started
1111
---
@@ -28,7 +28,7 @@ To get started with Blazor, follow the guidance for your choice of tooling:
2828
1. Install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
2929

3030
```dotnetcli
31-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview5.20216.8
31+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
3232
```
3333

3434
1. Create a new project.
@@ -48,7 +48,7 @@ To get started with Blazor, follow the guidance for your choice of tooling:
4848
1. Optionally install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
4949

5050
```dotnetcli
51-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview5.20216.8
51+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
5252
```
5353

5454
> [!NOTE]
@@ -90,19 +90,19 @@ Blazor Server is supported in Visual Studio for Mac. Blazor WebAssembly isn't su
9090

9191
1. Select **File** > **New Solution** or create a **New Project**.
9292

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

95-
1. Select the **Blazor Server App** template. Select **Create**.
95+
1. Select the **Blazor Server App** template. Select **Next**.
9696

9797
For information on the Blazor Server hosting model, see <xref:blazor/hosting-models>.
9898

99-
1. Set the **Target Framework** to **.NET Core 3.1** and select **Next**.
99+
1. Confirm that the **Target Framework** is set to **.NET Core 3.1** and select **Next**.
100100

101101
1. In the **Project Name** field, name the app `WebApplication1`. Select **Create**.
102102

103-
1. Select **Run** > **Run Without Debugging** to run the app *without the debugger*. Run the app with **Start Debugging** to run the app *with the debugger*.
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*.
104104

105-
If a prompt appears to trust the development certificate, trust the certificate and continue.
105+
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.
106106

107107
# [.NET Core CLI](#tab/netcore-cli/)
108108

@@ -111,7 +111,7 @@ If a prompt appears to trust the development certificate, trust the certificate
111111
1. Optionally install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
112112

113113
```dotnetcli
114-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview5.20216.8
114+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
115115
```
116116

117117
> [!NOTE]

aspnetcore/host-and-deploy/blazor/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Discover how to host and deploy Blazor apps.
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 03/11/2020
8+
ms.date: 04/30/2020
99
no-loc: [Blazor, SignalR]
1010
uid: host-and-deploy/blazor/index
1111
---
@@ -25,6 +25,11 @@ Apps are published for deployment in Release configuration.
2525
1. Select the *publish target*. To publish locally, select **Folder**.
2626
1. Accept the default location in the **Choose a folder** field or specify a different location. Select the **Publish** button.
2727

28+
# [Visual Studio for Mac](#tab/visual-studio-mac)
29+
30+
1. Select **Build** > **Publish to Folder**.
31+
1. Confirm the folder to receive the published assets and select **Publish**.
32+
2833
# [.NET Core CLI](#tab/netcore-cli)
2934

3035
Use the [dotnet publish](/dotnet/core/tools/dotnet-publish) command to publish the app with a Release configuration:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
> [!NOTE]
2-
> The guidance in this article applies to the ASP.NET Core Blazor WebAssembly template version 3.2 or later. To obtain the latest Blazor WebAssembly template (version `3.2.0-preview5.20216.8`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.
2+
> The guidance in this article applies to the ASP.NET Core Blazor WebAssembly template version 3.2 or later. To obtain the latest Blazor WebAssembly template (version `3.2.0-rc1.20223.4`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
> [!NOTE]
2-
> The guidance in this section applies to the ASP.NET Core Blazor WebAssembly template version 3.2 or later. To obtain the latest Blazor WebAssembly template (version `3.2.0-preview5.20216.8`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.
2+
> The guidance in this section applies to the ASP.NET Core Blazor WebAssembly template version 3.2 or later. To obtain the latest Blazor WebAssembly template (version `3.2.0-rc1.20223.4`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.

aspnetcore/tutorials/signalr-blazor-webassembly.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Create a chat app that uses ASP.NET Core SignalR with Blazor WebAss
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 04/23/2020
8+
ms.date: 04/30/2020
99
no-loc: [Blazor, SignalR]
1010
uid: tutorials/signalr-blazor-webassembly
1111
---
@@ -53,7 +53,7 @@ At the end of this tutorial, you'll have a working chat app.
5353
When not using Visual Studio version 16.6 Preview 2 or later, install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) template. The [Microsoft.AspNetCore.Components.WebAssembly.Templates](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Templates/) package has a preview version while Blazor WebAssembly is in preview. In a command shell, execute the following command:
5454

5555
```dotnetcli
56-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview5.20216.8
56+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-rc1.20223.4
5757
```
5858

5959
Follow the guidance for your choice of tooling:

aspnetcore/tutorials/signalr-blazor-webassembly/samples/3.x/BlazorSignalRApp/Client/BlazorSignalRApp.Client.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-preview4.20210.8" />
10-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-preview4.20210.8" PrivateAssets="all" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-preview4.20210.8" PrivateAssets="all" />
9+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-rc1.20223.4" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
1212
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="3.1.3" />
13-
<PackageReference Include="System.Net.Http.Json" Version="3.2.0-preview5.20210.3" />
13+
<PackageReference Include="System.Net.Http.Json" Version="3.2.0-rc1.20217.1" />
1414
</ItemGroup>
1515
<ItemGroup>
1616
<ProjectReference Include="..\Shared\BlazorSignalRApp.Shared.csproj" />

0 commit comments

Comments
 (0)