Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions aspnetcore/release-notes/aspnetcore-6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The Razor compiler is now based on [C# source generators](/dotnet/csharp/roslyn-

The Razor compiler previously utilized a two-step compilation process that produced a separate Views assembly that contained the generated views and pages (`.cshtml` files) defined in the app. The generated types were public and under the `AspNetCore` namespace.

The updated Razor compiler builds the views and pages types into the main project assembly. These types are now generated by default as internal sealed in the `AspNetCoreGeneratedDocument` namespace. This change improves build performance, enables single file deployment, and enables these types to participate in [.NET Hot Reload](https://devblogs.microsoft.com/dotnet/update-on-net-hot-reload-progress-and-visual-studio-2022-highlights/).
The updated Razor compiler builds the views and pages types into the main project assembly. These types are now generated by default as internal sealed in the `AspNetCoreGeneratedDocument` namespace. This change improves build performance, enables single file deployment, and enables these types to participate in [Hot Reload](xref:test/hot-reload).

For more information about this change, see [the related announcement issue](https://github.com/aspnet/Announcements/issues/459) on GitHub.

Expand Down Expand Up @@ -390,11 +390,9 @@ Cookie authentication sliding expiration can now be customized or suppressed usi

## Miscellaneous

<!--
### Hot reload
### Hot Reload

Quickly make UI and code updates to running apps without losing app state for faster and more productive developer experience using [Hot reload](https://devblogs.microsoft.com/dotnet/introducing-net-hot-reload/). For more information, see [Update on .NET Hot Reload progress and Visual Studio 2022 Highlights](https://devblogs.microsoft.com/dotnet/update-on-net-hot-reload-progress-and-visual-studio-2022-highlights/).
-->
Quickly make UI and code updates to running apps without losing app state for faster and more productive developer experience using [Hot Reload](xref:test/hot-reload). For more information, see [Update on .NET Hot Reload progress and Visual Studio 2022 Highlights](https://devblogs.microsoft.com/dotnet/update-on-net-hot-reload-progress-and-visual-studio-2022-highlights/).

<!-- Notes:
### Single-file publishing
Expand Down Expand Up @@ -635,10 +633,9 @@ For example, the following app sets the <xref:System.Net.Sockets.Socket.LingerSt

[!code-csharp[](aspnetcore-6.0/samples/WebApp1/Program.cs?name=snippet_icsf)]

### .NET Hot Reload
### Hot Reload

Hot Reload minimizes the number of app restarts after code changes. For more information, see [.NET Hot Reload support for ASP.NET Core](https://devblogs.microsoft.com/dotnet/introducing-net-hot-reload/).
<!--TODO change above link to <xref:test/hot-reload> when https://github.com/dotnet/AspNetCore.Docs/pull/23659 merges-->
Hot Reload minimizes the number of app restarts after code changes. For more information, see <xref:test/hot-reload>.

### Generic type constraints in Razor

Expand Down