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

Modernize the Blazor Web template #53142

Open
mkArtakMSFT opened this issue Jan 4, 2024 · 10 comments
Open

Modernize the Blazor Web template #53142

mkArtakMSFT opened this issue Jan 4, 2024 · 10 comments
Assignees
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-templates Pillar: Dev Experience Priority:0 Work that we can't release without

Comments

@mkArtakMSFT
Copy link
Member

mkArtakMSFT commented Jan 4, 2024

Includes accessibility testing (plus some feedback here: https://github.com/dotnet/AspNetCore-ManualTests/issues/2474)

@mkArtakMSFT mkArtakMSFT added enhancement This issue represents an ask for new feature or an enhancement to an existing one area-blazor Includes: Blazor, Razor Components Priority:0 Work that we can't release without feature-templates labels Jan 4, 2024
@mkArtakMSFT mkArtakMSFT added this to the .NET 9 Planning milestone Jan 4, 2024
@ghost
Copy link

ghost commented Jan 4, 2024

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@mkArtakMSFT
Copy link
Member Author

mkArtakMSFT commented Jan 4, 2024

As part of this, we will consider feedback provided #50927 and #51326

@KennethHoff
Copy link

I want one of two things personally:

  1. A template with no third party dependency whatsoever ( no jQuery, no bootstrap, no SCSS, no Tailwind, no nothing). Maybe some default styling - in actual CSS - but no library.

  2. A template that allows for selecting from a list. "I want a Blazor Template with TypeScript and Tailwind", "I want a Blazor template with TypeScript but no CSS build step", "I want a Blazor Template with no JS or CSS build step", and so on. Ideally it sets it up such that all modes have the same styling such that you can very easily compare the solutions.

The former is much easier for you guys, while the latter is a potentially better UX (assuming it automatically uses the latest versions of things and sets up the build step).

@glen-84
Copy link
Contributor

glen-84 commented Jan 5, 2024

I prefer option 1.

Option 2 will always:

  • Not include everyone's preferred frameworks.
  • Become outdated more quickly, thus adding a maintenance burden to this project.

@sultan
Copy link

sultan commented Jan 7, 2024

The project from template better not include copy pasted dependencies but instead a Libman nugget dependency + references to js deps within. I have my young students do projects from templates and have them replace links with bootstrap buttons and replace copy pasted libs with either datatables.js or tailwind.

@sultan
Copy link

sultan commented Jan 7, 2024

As stated in issue #50121 : css classes are not well placed within the multiple css of the project. The behaviour is not consistent between desktop and mobile and this was easily corrected with the code I provided. I hope you can take all contributors code to the live templates.

@EdCharbeneau
Copy link

As stated in issue #50121 : css classes are not well placed within the multiple css of the project. The behaviour is not consistent between desktop and mobile and this was easily corrected with the code I provided. I hope you can take all contributors code to the live templates.

I fixed a lot of those issues in this PR: #51030

@wolfgangschneider
Copy link

wolfgangschneider commented Feb 2, 2024

I‘ll love option 1.

It took me hours to remove Bootstrap from the project.

update:

Content e.g Counter /Weather forecasts , optional Login should still be there.

@webprofusion-chrisc
Copy link

While a completely stripped down template may be desirable for new apps (realistically established app devs probably have a UI toolkit in mind) it's not the best for those exploring the framework and kicking the tires.

Perhaps the template could have default content (or even a small dynamic feed demonstrating an http get) that links to some useful stuff, e.g. MudBlazor is a phenomenal OSS toolkit, Microsofts own FluentUI etc. You could argue that creates favoritism but the point of a template is to get people started and set them up for success, and there are some things more likely to do that than others.

@begerard
Copy link

Having a demonstrative template with example for several use case (more than a simple Counter please!) will greatly help the adoption of the technology. And having it compatible with the different modes (SSR, Interactive, WASM) would help a lot to understand their differences.

Of course, no matter which toolkit you use for this you will be criticized. You have to live with it and not stop you from doing it.

Also, Microsoft have doing its dogfooding with some success for a long time so using FluentUI -even if it's probably not the best toolkit- would make sense (and may also help them).

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 enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-templates Pillar: Dev Experience Priority:0 Work that we can't release without
Projects
None yet
Development

No branches or pull requests

9 participants