Strategic NOTEs for hosted Blazor migrations (#20511)

pull/20516/head
Luke Latham 2020-11-11 15:56:22 -06:00 committed by GitHub
parent f27d8a5a58
commit 91e93bb986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,9 @@ For a Blazor WebAssembly project, including the *`Client`* project of a hosted B
- <Project Sdk="Microsoft.NET.Sdk.Web">
+ <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
```
> [!NOTE]
> This update only applies to standalone Blazor WebAssembly projects and the *`Client`* projects of hosted Blazor solutions.
1. Update the following properties:
@ -176,6 +179,13 @@ For AAD B2C:
+<PackageReference Include="Microsoft.Identity.Web.UI" Version="1.2.0" />
```
> [!NOTE]
> The SDK of the *`Server`* project in a hosted Blazor WebAssembly solution remains `Microsoft.NET.Sdk.Web`:
>
> ```xml
> <Project Sdk="Microsoft.NET.Sdk.Web">
> ```
For more information, see:
* <xref:blazor/security/webassembly/hosted-with-azure-active-directory>