diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index 60b537d46395..626e236c38d4 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -1649,10 +1649,30 @@ "redirect_url": "/aspnet/core/fundamentals/error-handling-api", "redirect_document_id": false }, - { + { "source_path": "aspnetcore/fundamentals/map-static-files.md", "redirect_url": "/aspnet/core/fundamentals/static-files", "redirect_document_id": false + }, + { + "source_path": "aspnetcore/migration/60-70.md", + "redirect_url": "/aspnet/core/migration/60-to-70", + "redirect_document_id": false + }, + { + "source_path": "aspnetcore/migration/70-80.md", + "redirect_url": "/aspnet/core/migration/70-to-80", + "redirect_document_id": false + }, + { + "source_path": "aspnetcore/migration/80-90.md", + "redirect_url": "/aspnet/core/migration/80-to-90", + "redirect_document_id": false + }, + { + "source_path": "aspnetcore/migration/20_21.md", + "redirect_url": "/aspnet/core/migration/20-to-21", + "redirect_document_id": false } ] } diff --git a/aspnetcore/migration/20_21.md b/aspnetcore/migration/20-to-21.md similarity index 99% rename from aspnetcore/migration/20_21.md rename to aspnetcore/migration/20-to-21.md index 2d8cf4a29001..a1ba0bc356e7 100644 --- a/aspnetcore/migration/20_21.md +++ b/aspnetcore/migration/20-to-21.md @@ -5,7 +5,7 @@ description: This article covers the basics of migrating an ASP.NET Core 2.0 app ms.author: wpickett ms.custom: mvc ms.date: 06/09/2019 -uid: migration/20_21 +uid: migration/20-to-21 --- # Migrate from ASP.NET Core 2.0 to 2.1 diff --git a/aspnetcore/migration/60-70.md b/aspnetcore/migration/60-to-70.md similarity index 100% rename from aspnetcore/migration/60-70.md rename to aspnetcore/migration/60-to-70.md diff --git a/aspnetcore/migration/70-80.md b/aspnetcore/migration/70-to-80.md similarity index 100% rename from aspnetcore/migration/70-80.md rename to aspnetcore/migration/70-to-80.md diff --git a/aspnetcore/migration/80-90.md b/aspnetcore/migration/80-to-90.md similarity index 100% rename from aspnetcore/migration/80-90.md rename to aspnetcore/migration/80-to-90.md diff --git a/aspnetcore/migration/90-to-100.md b/aspnetcore/migration/90-to-100.md index 5e47dad2d25b..8d335052cda2 100644 --- a/aspnetcore/migration/90-to-100.md +++ b/aspnetcore/migration/90-to-100.md @@ -3,7 +3,7 @@ title: Migrate from ASP.NET Core in .NET 9 to ASP.NET Core in .NET 10 author: wadepickett description: Learn how to migrate an ASP.NET Core in .NET 9 to ASP.NET Core in .NET 10. ms.author: wpickett -ms.date: 8/14/2025 +ms.date: 11/10/2025 uid: migration/90-to-100 --- # Migrate from ASP.NET Core in .NET 9 to ASP.NET Core in .NET 10 diff --git a/aspnetcore/migration/90-to-100/includes/blazor.md b/aspnetcore/migration/90-to-100/includes/blazor.md index bcea105f933a..ae34b21d05ed 100644 --- a/aspnetcore/migration/90-to-100/includes/blazor.md +++ b/aspnetcore/migration/90-to-100/includes/blazor.md @@ -1,4 +1,48 @@ -Complete migration coverage for Blazor apps is scheduled for September and October of 2025. +### Blazor release notes + +For new feature coverage, see . + +### Set the Blazor WebAssembly environment with the `WasmApplicationEnvironmentName` MSBuild property + +*This section only applies to standalone Blazor WebAssembly apps.* + +The `Properties/launchSettings.json` file is no longer used to control the environment in standalone Blazor WebAssembly apps. + +Set the environment with the `` property in the app's project file (`.csproj`). + +The following example sets the app's environment to `Staging`: + +```xml +Staging +``` + +The default environments are: + +* `Development` for build. +* `Production` for publish. + +### Boot configuration file inlined + +Blazor's boot configuration, which prior to the release of .NET 10 existed in a file named `blazor.boot.json`, has been inlined into the `dotnet.js` script. This only affects developers who are interacting directly with the `blazor.boot.json` file, such as when developers are: + +* Checking file integrity for published assets with the troubleshoot integrity PowerShell script per the guidance in . +* Changing the file name extension of DLL files when not using the default Webcil file format per the guidance in . + +Currently, there's no documented replacement strategy for the preceding approaches. If you require either of the preceding strategies, open a new documentation issue describing your scenario using the **Open a documentation issue** link at the bottom of either article. + +### Declarative model for persisting state from components and services + +In prior Blazor releases, persisting component state during prerendering using the service involved a significant amount of code. Starting with .NET 10, you can declaratively specify state to persist from components and services using the `[PersistentState]` attribute. For more information, see . + +### Custom Blazor cache and `BlazorCacheBootResources` MSBuild property removed + +Now that all Blazor client-side files are fingerprinted and cached by the browser, Blazor's custom caching mechanism and the `BlazorCacheBootResources` MSBuild property are no longer available. If the client-side project's project file contains the MSBuild property, remove the property, as it no longer has any effect: + +```diff +- ... +``` + +For more information, see . ### Adopt passkey user authentication in an existing Blazor Web App diff --git a/aspnetcore/release-notes/aspnetcore-2.1.md b/aspnetcore/release-notes/aspnetcore-2.1.md index d40f8793c401..7e73323786a6 100644 --- a/aspnetcore/release-notes/aspnetcore-2.1.md +++ b/aspnetcore/release-notes/aspnetcore-2.1.md @@ -166,7 +166,7 @@ For more information, see . ## Migrate from 2.0 to 2.1 -See [Migrate from ASP.NET Core 2.0 to 2.1](xref:migration/20_21). +See [Migrate from ASP.NET Core 2.0 to 2.1](xref:migration/20-to-21). ## Breaking changes diff --git a/aspnetcore/security/authentication/scaffold-identity.md b/aspnetcore/security/authentication/scaffold-identity.md index 9d5b587716b2..18ce1ab12424 100644 --- a/aspnetcore/security/authentication/scaffold-identity.md +++ b/aspnetcore/security/authentication/scaffold-identity.md @@ -952,6 +952,6 @@ To prevent publishing static Identity assets to the web root, see