Skip to content

Commit

Permalink
Surface Blazor 9.0 Preview 2 content (#32033)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Mar 12, 2024
1 parent 0b4516f commit 9ca4411
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions aspnetcore/release-notes/aspnetcore-9/includes/blazor.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
New Blazor features will appear with the release of Preview 2 in March, 2024.

<!--
### Constructor injection (Preview 2, mid-March)
### Constructor injection

Razor components support constructor injection.

Expand All @@ -16,7 +13,7 @@ public partial class ConstructorInjection(NavigationManager navigation)

For more information, see <xref:blazor/fundamentals/dependency-injection?view=aspnetcore-9.0#request-a-service-in-a-component>.

### Websocket compression for Interactive Server components (Preview 2, mid-March)
### Websocket compression for Interactive Server components

By default, Interactive Server components enable compression for [WebSocket connections](xref:fundamentals/websockets) and set a `frame-ancestors` [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP) directive set to `'self'`, which only permits embedding the app in an `<iframe>` of the origin from which the app is served when compression is enabled or when a configuration for the WebSocket context is provided.

Expand All @@ -36,4 +33,3 @@ For more information, see the following resources:

* <xref:blazor/fundamentals/signalr?view=aspnetcore-9.0#websocket-compression-for-interactive-server-components>
* <xref:blazor/security/server/interactive-server-side-rendering?view=aspnetcore-9.0#interactive-server-components-with-websocket-compression-enabled>
-->

0 comments on commit 9ca4411

Please sign in to comment.