Skip to content

[Blazor] Better workflow for template creation #60311

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

Open
javiercn opened this issue Feb 11, 2025 · 0 comments
Open

[Blazor] Better workflow for template creation #60311

javiercn opened this issue Feb 11, 2025 · 0 comments
Labels
area-blazor Includes: Blazor, Razor Components
Milestone

Comments

@javiercn
Copy link
Member

With the addition of render modes and per-page interactivity, the template has grown too complex for new users of the framework. Users have to make a choice between:

  • Per page interactivity vs Global interactivity
  • SSR, Server, WebAssembly or a combination thereof.
  • Auth options

This can be challenging (specially the render modes and per page vs global interactivity) and might not be optimal for newcomers to the framework.

While we want to retain all these options in the template, however, it might be good if we can create "blessed paths" within the template/UI to some of the most popular combinations (Global interactivity + Wasm + Prerendering (Hosted wasm)) and (Global interactivity + Server + No-Prerendering) + auth options.

An alternative might be a different experience that provides more information inline to make a decision or a "quickstart" template that doesn't give you options (or only gives you server/client) so that you can get started quickly and leave the existing template as it is.

Another alternative is to remove all the options (except for the most basic ones) from the template and use scaffolders to bring in functionality as needed.

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Feb 11, 2025
@javiercn javiercn added this to the Backlog milestone Feb 11, 2025
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
Projects
None yet
Development

No branches or pull requests

1 participant