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

Provide updated Blazor Server template for .NET 8 #52227

Closed
1 task done
shoffma1 opened this issue Nov 20, 2023 · 4 comments
Closed
1 task done

Provide updated Blazor Server template for .NET 8 #52227

shoffma1 opened this issue Nov 20, 2023 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved

Comments

@shoffma1
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Currently with .NET 8.0.100 SDK, creating an "old" Blazor Server templated project, framework targets are limited to .NET 6 and .NET 7. Requiring people to either 1) Start a new project on a soon to be unsupported version, or 2) Manually updating all references, and hoping that all the "hidden" references not in the csproj file are also updated.

Describe the solution you'd like

For scenarios requiring Microsoft Identity, prior to issue #51202 being address, please just update the "old" Blazor Server template to have references to .NET 8 packages. Rather than requiring people to create new projects and update them to .NET 8, or use a different hosting model.

Additional context

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Nov 20, 2023
@shoffma1 shoffma1 changed the title Provide update Blazor Server template for .NET 8 Provide updated Blazor Server template for .NET 8 Nov 20, 2023
@javiercn
Copy link
Member

@shoffma1 thanks for contacting us.

The Blazor Server template has been replaced with the Blazor Web template with the Global Interactivity and Server options enabled. We don't plan to ship an updated Blazor Server template.

@Viajaz
Copy link

Viajaz commented Nov 21, 2023

@javiercn Except it doesn't have the same functionality in regards to authentication (Microsoft Identity) and they aren't planning on implementing the missing functionality (See #51202) until .NET 9.

Given the EOL for .NET 6 is 2024-11-14 and EOL for .NET 7 is 2023-05-15, it's conceivable that there could be a period where Microsoft has no supported Blazor Project template that has Microsoft Identity at all or, at the very least, zero overlap between the old and the new.

If they aren't going to do #51202 in .NET 8 then they really should do this issue instead. I really don't understand why so much time was spent on creating ASP.NET Blazor demos and content for .NET Conf when functionality like this is missing from important project templates.

@mkArtakMSFT
Copy link
Member

The Blazor Web App template is the successor of the Blazor Server project template in .NET 8. We do plan to enable the integration with Microsoft Identity Platform for the new Blazor Web App template and this is tracked as part of the #51202.

As a side note, here is an example showing how to update a project to Blazor 8 and use OpenID Connect #51759 (comment)

@mkArtakMSFT mkArtakMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Nov 21, 2023
@ghost ghost added the Status: Resolved label Nov 21, 2023
@shoffma1
Copy link
Author

shoffma1 commented Nov 21, 2023

I don't think this is a duplicate of 51202, at all. Fwiw, I was able to use the documented (Convert a Blazor Server app into a Blazor Web App) method to update an existing .NET 7 project ... though Visual Studio is complaining about any component not previously created, such as QuickGrid, as being invalid. I guess that's a VS problem though.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

4 participants