Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve guidance for SSR components in Auto (with .Client project) solutions #32551

Open
guardrex opened this issue May 9, 2024 · 0 comments
Assignees
Labels

Comments

@guardrex
Copy link
Collaborator

guardrex commented May 9, 2024

Description

In the Apply a render mode to the entire app section, we tell devs to move all of the components in the server project's Pages folder into the client project's Pages folder with this language ...

For apps that adopt an interactive client-side (WebAssembly or Auto) rendering mode and enable the render mode for the entire app via the Routes component:

  • ...
    Place or move the components of the server app's Components/Pages folder into the .Client project's Pages folder. Create a Pages folder in the .Client project if it doesn't exist.
  • ...

That seems buried ⚰️ for such an important concept (e.g., dotnet/blazor-samples#289), so I'll see about how this concept can be clarified, probably by adding a short section to the article or via an IMPORTANT note.

cc: @Takhoffman

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/render-modes.md

Document ID

7c9948a3-9886-8097-6014-492a4c21ea4e

Article author

@guardrex

@guardrex guardrex added Source - Docs.ms Docs Customer feedback via GitHub Issue ⌚ Not Triaged labels May 9, 2024
@github-actions github-actions bot added the Blazor label May 9, 2024
@dotnet dotnet deleted a comment from github-actions bot May 9, 2024
@guardrex guardrex added Pri1 High priority, do before Pri2 and Pri3 doc-enhancement and removed Source - Docs.ms Docs Customer feedback via GitHub Issue labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: P0/P1 - High Priority
Development

No branches or pull requests

2 participants