Skip to content

Commit 6318d2b

Browse files
authored
Merge pull request #18071 from dotnet/master
2 parents f9a5069 + 8aa7e33 commit 6318d2b

14 files changed

Lines changed: 119 additions & 29 deletions

File tree

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/css/site.css renamed to aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/wwwroot/css/app.css

File renamed without changes.

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/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"feedback_system": "GitHub",
5353
"ms.prod": "aspnet-core",
5454
"ms.topic": "conceptual",
55-
"uhfHeaderId": "MSDocsHeader-DotNet",
55+
"uhfHeaderId": [],
5656
"searchScope": [
5757
"ASP.NET Core"
5858
]

aspnetcore/host-and-deploy/blazor/configure-linker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to control the Intermediate Language (IL) Linker when bui
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 03/23/2020
8+
ms.date: 04/29/2020
99
no-loc: [Blazor, SignalR]
1010
uid: host-and-deploy/blazor/configure-linker
1111
---
@@ -98,11 +98,11 @@ In the following example, the *LinkerConfig.xml* file is specified as an embedde
9898

9999
By default, Blazor's linker configuration for Blazor WebAssembly apps strips out internationalization information except for locales explicitly requested. Removing these assemblies minimizes the app's size.
100100

101-
To control which I18N assemblies are retained, set the `<MonoLinkerI18NAssemblies>` MSBuild property in the project file:
101+
To control which I18N assemblies are retained, set the `<BlazorWebAssemblyI18NAssemblies>` MSBuild property in the project file:
102102

103103
```xml
104104
<PropertyGroup>
105-
<MonoLinkerI18NAssemblies>{all|none|REGION1,REGION2,...}</MonoLinkerI18NAssemblies>
105+
<BlazorWebAssemblyI18NAssemblies>{all|none|REGION1,REGION2,...}</BlazorWebAssemblyI18NAssemblies>
106106
</PropertyGroup>
107107
```
108108

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>.

0 commit comments

Comments
 (0)