Skip to content

Commit

Permalink
Update README files (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Feb 4, 2025
1 parent 577abbf commit 0a73e74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion 9.0/BlazorWebAppAreaOfStaticSsrComponents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

This sample app demonstrates how to maintain an area (folder) of components that adopt static server-side rendering (static SSR) in an app that otherwise adopts a global interactive render mode (Server, WebAssembly, or Auto).

For more information, see [Static SSR pages in an interactive app: Area (folder) of static SSR components](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes#area-folder-of-static-ssr-components).
The app targets .NET 9 and uses Blazor features available in ASP.NET Core 9.0 or later, but the technique demonstrated is most useful in 8.0. In ASP.NET Core 9.0 or later, Blazor includes a feature to simplify the implementation of this scenario with the `@attribute [ExcludeFromInteractiveRouting]` Razor component directive. For more information on how to use the `[ExcludeFromInteractiveRouting]` attribute, see [Static SSR pages in a interactive app (ASP.NET Core 9.0 or later)](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes#static-ssr-pages-in-an-interactive-app).

For more information on the technique used by this sample app, see [Static SSR pages in an interactive app: Area (folder) of static SSR components (ASP.NET Core 8.0)](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#area-folder-of-static-ssr-components).
4 changes: 3 additions & 1 deletion 9.0/BlazorWebAppSpreadOutStaticSsrComponents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

This sample demonstrates how to adopt static server-side rendering (static SSR) in components spread out around an app that otherwise adopt interactive render modes (Server, WebAssembly, or Auto) on a per-component basis.

For more information, see [Static SSR pages in a interactive app: Static SSR components spread out across the app](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes#static-ssr-components-spread-out-across-the-app).
The app targets .NET 9 and uses Blazor features available in ASP.NET Core 9.0 or later, but the technique demonstrated is most useful in 8.0. In ASP.NET Core 9.0 or later, Blazor includes a feature to simplify the implementation of this scenario with the `@attribute [ExcludeFromInteractiveRouting]` Razor component directive. For more information on how to use the `[ExcludeFromInteractiveRouting]` attribute, see [Static SSR pages in a interactive app (ASP.NET Core 9.0 or later)](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes#static-ssr-pages-in-an-interactive-app).

For more information, see [Static SSR pages in a interactive app: Static SSR components spread out across the app (ASP.NET Core 8.0)](https://learn.microsoft.com/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#static-ssr-components-spread-out-across-the-app).

0 comments on commit 0a73e74

Please sign in to comment.