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

Reconsider the Platform concept in the new render mode detection API #56047

Closed
danroth27 opened this issue Jun 3, 2024 · 1 comment · Fixed by #56263
Closed

Reconsider the Platform concept in the new render mode detection API #56047

danroth27 opened this issue Jun 3, 2024 · 1 comment · Fixed by #56263
Assignees
Labels
area-blazor Includes: Blazor, Razor Components investigate
Milestone

Comments

@danroth27
Copy link
Member

Prior to .NET 8 we had the concept of hosting models (Blazor Server, Blazor WebAssembly, Blazor Hybrid), which took a fair amount of explaining for users to understand and choose between. Then in .NET 8 we introduced render modes, which many Blazor are still struggling to understand and rationalize. In .NET 9 as part of the new API for detecting the render mode, we're introducing the new concept of a "platform" which is separate from a render mode. I think we should discuss some more what exactly we mean by a platform in Blazor if we really need this new concept. Traditionally platform is used to refer to the underlying OS, but that's obviously not what we mean in the new API, which has the potential to create confusion. Maybe we should pick a more Blazor specific name, like RendererType or RendererKind?

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Jun 3, 2024
@halter73 halter73 added this to the 9.0-preview6 milestone Jun 11, 2024
@halter73
Copy link
Member

The plan is to rename Platform to RendererInfo IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components investigate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants