No templates or subcommands found matching: 'blazorserver'

FRED 5 Reputation points
2024-06-07T11:18:52.7766667+00:00

Question

Under "Create Blazor components" Section

There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below:

dotnet new blazorserver -o BlazingPizzaSite -f net6.0

Source URL: https://learn.microsoft.com/en-us/training/modules/interact-with-data-blazor-web-apps/2-create-user-interfaces-with-blazor-components


My Suggestion

My understanding that the Blazor framework provides templates for creating apps in two ways:

  • Blazor Web App project template: blazor
  • Blazor WebAssembly Standalone app project template: blazorwasm

Based on this information, my suggested command for modifing the content of this training is below:

dotnet new blazor -o BlazzingPizzaSite -f net8.0

This question is related to the following Learning Module

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
11 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Pradeep M 4,560 Reputation points Microsoft Vendor
    2024-06-28T10:42:13.14+00:00

     Hi FRED,

    Thank you for reaching out to Microsoft Q & A forum.   

    Where am I seeing this?  

    Learning Path: Build web apps with Blazor  

    Module:  Interact with data in Blazor web apps  

    Unit 3: Create a user interface with Blazor components 

    Thank you for your understanding.  

    Following our communication with the content author, they've assured us that the Learn paths will be revised and updated in the upcoming major update, which is imminent.  

    We believe this information is helpful to you! If so, please acknowledge it by clicking "Accept Answer" and "Upvote" on the post. 

    1 person found this answer helpful.
    0 comments No comments

  2. Elijah 0 Reputation points
    2024-11-20T05:37:23.74+00:00

    In my research on some of the tutorials on Microsoft Learn, I found that the templates are blazor and blazorwasm. I used "blazor" instead of "blazorserver" and it worked. Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.