Update target-aspnetcore.md (#22238)

pull/22240/head
Rick Anderson 2021-05-08 11:59:06 +10:00 committed by GitHub
parent a15b056735
commit 4ad9a9f7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ To reference ASP.NET Core, add the following `<FrameworkReference>` element to y
Referencing ASP.NET Core in this manner is only supported for projects targeting .NET Core 3.x. Referencing ASP.NET Core in this manner is only supported for projects targeting .NET Core 3.x.
For information on using ASP.NET Core 5.0 and later APIs in a class library, see [this GitHub issue](https://github.com/dotnet/AspNetCore.Docs/issues/22048).
## Include Blazor extensibility ## Include Blazor extensibility
Blazor supports WebAssembly (WASM) and server-based [hosting models](xref:blazor/hosting-models). Unless there's a specific reason not to support both hosting models, a [Razor components](xref:blazor/components/index) library should support both hosting models. A Razor components library must use the [Microsoft.NET.Sdk.Razor SDK](xref:razor-pages/sdk). Blazor supports WebAssembly (WASM) and server-based [hosting models](xref:blazor/hosting-models). Unless there's a specific reason not to support both hosting models, a [Razor components](xref:blazor/components/index) library should support both hosting models. A Razor components library must use the [Microsoft.NET.Sdk.Razor SDK](xref:razor-pages/sdk).