-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Comments
@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. |
@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. |
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) |
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. |
Is there an existing issue for this?
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
The text was updated successfully, but these errors were encountered: