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
Copy file name to clipboardExpand all lines: aspnetcore/blazor/debug.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to debug Blazor apps.
5
5
monikerRange: '>= aspnetcore-3.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 03/26/2020
8
+
ms.date: 04/16/2020
9
9
no-loc: [Blazor, SignalR]
10
10
uid: blazor/debug
11
11
---
@@ -47,7 +47,7 @@ Debugging requires either of the following browsers:
47
47
48
48
## Enable debugging for Visual Studio and Visual Studio Code
49
49
50
-
Debugging is enabled automatically for new projects that are created using the ASP.NET Core 3.2 Preview 3 or later Blazor WebAssembly project template.
50
+
Debugging is enabled automatically for new projects that are created using the ASP.NET Core 3.2 Preview 3 or later Blazor WebAssembly project template ([current release is 3.2 Preview 4](xref:blazor/get-started)).
51
51
52
52
To enable debugging for an existing Blazor WebAssembly app, update the *launchSettings.json* file in the startup project to include the following `inspectUri` property in each launch profile:
Copy file name to clipboardExpand all lines: aspnetcore/blazor/get-started.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Get started with Blazor by building a Blazor app with the tooling o
5
5
monikerRange: '>= aspnetcore-3.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 04/09/2020
8
+
ms.date: 04/16/2020
9
9
no-loc: [Blazor, SignalR]
10
10
uid: blazor/get-started
11
11
---
@@ -25,6 +25,12 @@ To get started with Blazor, follow the guidance for your choice of tooling:
25
25
26
26
For information on the two Blazor hosting models, *Blazor WebAssembly* and *Blazor Server*, see <xref:blazor/hosting-models>.
27
27
28
+
1. Install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
29
+
30
+
```dotnetcli
31
+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
32
+
```
33
+
28
34
1. Create a new project.
29
35
30
36
1. Select **Blazor App**. Select **Next**.
@@ -42,11 +48,11 @@ To get started with Blazor, follow the guidance for your choice of tooling:
42
48
1. Optionally install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
43
49
44
50
```dotnetcli
45
-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
51
+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
46
52
```
47
53
48
54
> [!NOTE]
49
-
> 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 3 Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
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.
50
56
51
57
1. Install [Visual Studio Code](https://code.visualstudio.com/).
52
58
@@ -105,11 +111,11 @@ If a prompt appears to trust the development certificate, trust the certificate
105
111
1. Optionally install the [Blazor WebAssembly](xref:blazor/hosting-models#blazor-webassembly) preview template by running the following command:
106
112
107
113
```dotnetcli
108
-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
114
+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
109
115
```
110
116
111
117
> [!NOTE]
112
-
> 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 3 Blazor WebAssembly template. Confirm the installed .NET Core SDK version by running `dotnet --version` in a command shell.
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.
113
119
114
120
1. For a Blazor Server experience, execute the following commands in a command shell:
Copy file name to clipboardExpand all lines: aspnetcore/blazor/hosting-model-configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn about Blazor hosting model configuration, including how to in
5
5
monikerRange: '>= aspnetcore-3.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 04/07/2020
8
+
ms.date: 04/16/2020
9
9
no-loc: [Blazor, SignalR]
10
10
uid: blazor/hosting-model-configuration
11
11
---
@@ -62,7 +62,7 @@ Obtain the app's environment in a component by injecting `IWebAssemblyHostEnviro
62
62
63
63
### Configuration
64
64
65
-
As of the ASP.NET Core 3.2 Preview 3 release, Blazor WebAssembly supports configuration from:
65
+
As of the ASP.NET Core 3.2 Preview 3 release ([current release is 3.2 Preview 4](xref:blazor/get-started)), Blazor WebAssembly supports configuration from:
Copy file name to clipboardExpand all lines: aspnetcore/host-and-deploy/blazor/webassembly.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to host and deploy a Blazor app using ASP.NET Core, Conte
5
5
monikerRange: '>= aspnetcore-3.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 04/06/2020
8
+
ms.date: 04/16/2020
9
9
no-loc: [Blazor, SignalR]
10
10
uid: host-and-deploy/blazor/webassembly
11
11
---
@@ -17,14 +17,18 @@ By [Luke Latham](https://github.com/guardrex), [Rainer Stropek](https://www.time
17
17
18
18
With the [Blazor WebAssembly hosting model](xref:blazor/hosting-models#blazor-webassembly):
19
19
20
-
* The Blazor app, its dependencies, and the .NET runtime are downloaded to the browser.
20
+
* The Blazor app, its dependencies, and the .NET runtime are downloaded to the browser in parallel.
21
21
* The app is executed directly on the browser UI thread.
22
22
23
23
The following deployment strategies are supported:
24
24
25
25
* The Blazor app is served by an ASP.NET Core app. This strategy is covered in the [Hosted deployment with ASP.NET Core](#hosted-deployment-with-aspnet-core) section.
26
26
* The Blazor app is placed on a static hosting web server or service, where .NET isn't used to serve the Blazor app. This strategy is covered in the [Standalone deployment](#standalone-deployment) section, which includes information on hosting a Blazor WebAssembly app as an IIS sub-app.
27
27
28
+
## Brotli precompression
29
+
30
+
When a Blazor WebAssembly app is published, the output is precompressed using the [Brotli compression algorithm](https://tools.ietf.org/html/rfc7932) at the highest level to reduce the app size and remove the need for runtime compression.
31
+
28
32
## Rewrite URLs for correct routing
29
33
30
34
Routing requests for page components in a Blazor WebAssembly app isn't as straightforward as routing requests in a Blazor Server, hosted app. Consider a Blazor WebAssembly app with two components:
> 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-preview3.20168.3`) 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-preview4.20210.8`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.
> 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-preview3.20168.3`) 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-preview4.20210.8`) when not using Visual Studio version 16.6 Preview 2 or later, see <xref:blazor/get-started>.
Copy file name to clipboardExpand all lines: aspnetcore/tutorials/signalr-blazor-webassembly.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Create a chat app that uses ASP.NET Core SignalR with Blazor WebAss
5
5
monikerRange: '>= aspnetcore-3.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 03/26/2020
8
+
ms.date: 04/16/2020
9
9
no-loc: [Blazor, SignalR]
10
10
uid: tutorials/signalr-blazor-webassembly
11
11
---
@@ -53,7 +53,7 @@ At the end of this tutorial, you'll have a working chat app.
53
53
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:
54
54
55
55
```dotnetcli
56
-
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
56
+
dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview4.20210.8
0 commit comments