Merged
Conversation
* Update view-compilation.md with runtime compilation details Clarified the obsolescence of runtime compilation in .NET 10 and its limitations for Razor components and production use. * Update runtime compilation notes in view-compilation.md Clarify the obsolescence and limitations of runtime compilation. * Update notes on Razor runtime compilation in .NET 10 Clarified notes on Razor runtime compilation obsolescence and recommendations for production and development scenarios. * Update aspnetcore/mvc/views/view-compilation.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix formatting in view-compilation.md --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the MVC Razor view compilation documentation to reflect .NET 10’s runtime compilation obsoletion guidance and refreshes article metadata for the live branch.
Changes:
- Updated
ms.dateto 02/06/2026. - Expanded the runtime compilation NOTE into a detailed list of limitations/recommendations.
- Removed bold emphasis from a later NOTE block.
Comment on lines
35
to
+36
| > [!NOTE] | ||
| > **Razor runtime compilation was obsoleted starting in .NET 10. When enabled, runtime compilation disables [.NET Hot Reload](xref:test/hot-reload). We recommend using Hot Reload instead for development scenarios. For more information, see [Razor runtime compilation is obsolete](/dotnet/core/compatibility/aspnet-core/10/razor-runtime-compilation-obsolete).** | ||
| > Razor runtime compilation was obsoleted starting in .NET 10. When enabled, runtime compilation disables [.NET Hot Reload](xref:test/hot-reload). We recommend using Hot Reload instead for development scenarios. For more information, see [Razor runtime compilation is obsolete](/dotnet/core/compatibility/aspnet-core/10/razor-runtime-compilation-obsolete). |
There was a problem hiding this comment.
There are now two adjacent NOTE blocks that both state runtime compilation was obsoleted in .NET 10 and that it disables Hot Reload. Consider consolidating into a single NOTE (either keep the new detailed list and remove this one, or vice versa) to avoid redundant guidance and reduce the risk of the two notes drifting out of sync over time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[AUTOMATED]