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

Hosting models/render modes & What's New 8.0 #30279

Merged
merged 45 commits into from
Sep 11, 2023

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Sep 8, 2023

Fixes #29861
Fixes #30270
Addresses #28161

Notes

  • This has a brain dump 🧠💩 feeling cranking it out so quickly. Future passes can polish up this turd! 😆
  • Because I don't have RC1 yet, I had to guess on a few behaviors/scenarios.
  • I recommend accessing the Hosting Models updates first. New content for render modes flows from it.
  • I placed the Render modes article in the Fundamentals node immediately under the overview because ...
    • Render modes makes the most sense with examples, but we don't even show a component or explain anything about them until the Fundamentals node overview is reached. UPDATE: I meant beyond the example in the landing page. The first place we get into a fuller explanation is in the Fundamentals overview.
    • Render modes activate at the component level with gestures in the component (or hierarchy). It makes sense to present them after the overarching tooling-level and app-level concepts.
    • It could be placed after the Fundamentals node and before the Components node, but that would mean that render modes wouldn't make sense for any other article in the Fundamentals node, where there are a handful of examples that set the render mode.
  • I place a cut-'n-paste, fully-working example for each Render mode scenario. That's a bit easier on the reader than having a single component and modifying it each time because in the WASM and Auto case, the component has to also be moved to the .Client project's Pages folder. It could go either way, but this fine and perfectly clear. In fact, devs can do the SxS MSBuild talk-style study of looking at what's loading in dev tools in a single app run this way.
  • I thought it made sense to leave Blazor Hybrid in the table. I don't detect a problem with it.

Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/components/render-modes.md aspnetcore/blazor/components/render-modes
aspnetcore/blazor/fundamentals/index.md ASP.NET Core Blazor fundamentals
aspnetcore/blazor/hosting-models.md ASP.NET Core Blazor hosting models
aspnetcore/mvc/views/razor.md Razor syntax reference for ASP.NET Core
aspnetcore/release-notes/aspnetcore-8.0.md aspnetcore/release-notes/aspnetcore-8.0

@danroth27
Copy link
Member

This has a brain dump 🧠💩 feeling cranking it out so quickly. Future passes can polish up this turd! 😆

There are no 💩 in Blazor, only dirty 💎. 😄

@danroth27
Copy link
Member

Because I don't have RC1 yet, I had to guess on a few behaviors/scenarios.

If you ever want to get your hands on a build .NET early, you can always get one from https://github.com/dotnet/installer.

guardrex and others added 3 commits September 8, 2023 17:31
Co-authored-by: Daniel Roth <daroth@microsoft.com>
guardrex and others added 2 commits September 11, 2023 12:46
Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Daniel Roth <daroth@microsoft.com>
guardrex and others added 2 commits September 11, 2023 15:10
Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Daniel Roth <daroth@microsoft.com>
Copy link
Member

@danroth27 danroth27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release notes updates look good. I have a few comments, but I'm going to go ahead and approve this assuming those updates are straightforward.

Co-authored-by: Daniel Roth <daroth@microsoft.com>
@guardrex guardrex merged commit 0a4cbef into main Sep 11, 2023
2 checks passed
@guardrex guardrex deleted the guardrex/blazor-hosting-models-render-modes branch September 11, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Blazor content to the What's new topic for .NET 8 Hosting models/render modes for 8.0
2 participants