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

Why recommend Blazor by default? #34376

Closed
developpeur-pro opened this issue Dec 16, 2024 · 1 comment
Closed

Why recommend Blazor by default? #34376

developpeur-pro opened this issue Dec 16, 2024 · 1 comment

Comments

@developpeur-pro
Copy link

developpeur-pro commented Dec 16, 2024

Description

For new project development, we recommend ASP.NET Core Blazor.

This sentence without any further explanation raises questions. Are we to understand that Microsoft will no longer develop Razor Pages and MVC?

Currently, Blazor Server does not cover all use cases for classic ASP.Net Core applications (MPA) with server-side rendering. Classic MPA apps with HTMX or Hydro remain the simplest and most economical option for creating applications with good interactivity and low consumption of server-side resources. Blazor Server's dynamic rendering consumes many more resources due to web socket connections, and the possibilities offered by static rendering remain very limited and poorly documented. This is why it seems very premature to me to recommend using Blazor for any new web application.

Please clarify this point or delete this sentence.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/choose-web-ui?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/choose-web-ui.md

Document ID

68d5aab0-63ce-de7a-0c56-341c2eef623d

Article author

@wadepickett

Related Issues

@guardrex
Copy link
Collaborator

guardrex commented Dec 16, 2024

Hello @developpeur-pro ... This is only a recommendation, and we won't be pulling the remark or adding additional content to it at this time. Microsoft isn't abandoning RP/MVC; and if Blazor doesn't meet your needs, then please continue with RP/MVC (or Blazor's Razor components with RP/MVC).

the possibilities offered by static rendering remain very limited and poorly documented

Please open a new issue from the bottom of the Render Modes article if you'd like to explain what isn't documented for static SSR. The specific section in that article is at ["Static server-side rendering (static SSR)"] ...

https://learn.microsoft.com/aspnet/core/blazor/components/render-modes#static-server-side-rendering-static-ssr

... and we can address deficiencies. However, please open a new issue from the bottom of that article because it sets up the issue's metadata.

Fundamentals coverage, which is just a small amount of lead-in content to get the ball rolling is at ...

https://learn.microsoft.com/aspnet/core/blazor/fundamentals/#static-and-interactive-rendering-concepts

Class libs with static SSR coverage is at ...

https://learn.microsoft.com/aspnet/core/blazor/components/class-libraries-and-static-server-side-rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants