Add a Blazor migration scenario (#22109)

pull/22114/head
Luke Latham 2021-04-22 13:46:39 -05:00 committed by GitHub
parent 5177649abe
commit bf76653373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -622,6 +622,14 @@ Add the following item to the PWA app's project file:
</ItemGroup>
```
## Remove preview CSS isolation stylesheet link
If the project's `wwwroot/index.html` (Blazor WebAssembly) or `Pages/_Host.cshtml` (Blazor Server) contains a stylesheet `<link>` element for `scoped.styles.css` from an earlier 5.0 preview release, remove the `<link>` tag:
```diff
-<link href="_framework/scoped.styles.css/" rel="stylesheet" />
```
## Update Razor class libraries (RCLs)
Migrate Razor class libraries (RCLs) to take advantage of new APIs or features that are introduced as part of ASP.NET Core 5.0.