Add NOTE to WASM lazy load doc (#31040)

pull/31041/head
Luke Latham 2023-11-15 08:14:04 -05:00 committed by GitHub
parent 5b9d362ea7
commit 6f6d544d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,17 @@ uid: blazor/webassembly-lazy-load-assemblies
[!INCLUDE[](~/includes/not-latest-version.md)]
<!-- UPDATE 8.0 Remove NOTE when
https://github.com/dotnet/AspNetCore.Docs/issues/31039
is worked. -->
:::moniker range=">= aspnetcore-8.0"
> [!IMPORTANT]
> The examples in this article are based on Dynamic-Link Libraries (`.dll` file extension). This article hasn't been updated for Blazor in .NET 8, which uses the [Webcil packaging format for .NET assemblies](xref:blazor/host-and-deploy/webassembly#webcil-packaging-format-for-net-assemblies) (`.wasm` file extension). To use the guidance in its current form, substitute "`.wasm`" for "`.dll`" in the instructions. This article will be updated for Webcil packaging shortly, which is tracked by [Update from DLL to WASM files 8.0 (dotnet/AspNetCore.Docs #31039)](https://github.com/dotnet/AspNetCore.Docs/issues/31039).
:::moniker-end
Blazor WebAssembly app startup performance can be improved by waiting to load app assemblies until the assemblies are required, which is called *lazy loading*.
This article's initial sections cover the app configuration. For a working demonstration, see the [Complete example](#complete-example) section at the end of this article.