Skip to content

Commit 99925fb

Browse files
authored
Fix typos in view compilation documentation (#36739)
* Fix typos in view compilation documentation Corrected typographical errors in notes regarding runtime compilation obsolescence in .NET 10. * Fix typos in view-compilation.md notes
1 parent 224e702 commit 99925fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/mvc/views/view-compilation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ uid: mvc/views/view-compilation
1616
Razor files with a `.cshtml` extension are compiled at both build and publish time using the [Razor SDK](xref:razor-pages/sdk). Runtime compilation may be optionally enabled by configuring the project.
1717

1818
> [!NOTE]
19-
> **Runtime compilation is obsolete in .NET 10. For more information, see [Razor runtime compilation is obsolete](/dotnet/core/compatibility/aspnet-core/10/razor-runtime-compilation-obsolete).**
19+
> **Runtime compilation was obsoleted starting in .NET 10. For more information, see [Razor runtime compilation is obsolete](/dotnet/core/compatibility/aspnet-core/10/razor-runtime-compilation-obsolete).**
2020
2121
## Razor compilation
2222

@@ -25,7 +25,7 @@ Build-time and publish-time compilation of Razor files is enabled by default by
2525
Updating Razor views and Razor Pages during development while the app is running is also supported using [.NET Hot Reload](xref:test/hot-reload).
2626

2727
> [!NOTE]
28-
> Razor runtime compilation is obsolete 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).
28+
> **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).**
2929
3030
## Enable runtime compilation for all environments
3131

0 commit comments

Comments
 (0)