How to specify training to use Visual Studio instead of command line

Steven Scearce IV 6 Reputation points
2024-08-28T16:37:38.28+00:00

I have been going through the Blazor training path and had specified using Visual Studio. Now, it has switched to using command line instead. How can I switch it back to showing the directions using Visual Studio.

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.
7 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 3,270 Reputation points Microsoft Vendor
    2024-08-29T04:15:02.5866667+00:00

    Hi Steven Scearce IV,

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

    It looks like the learning path switched to Visual Studio Code midway, but you can definitely continue using Visual Studio if that’s your preferred IDE. Here’s what you can do: 

    1.Stay with Visual Studio: You can follow the same steps that are provided for Visual Studio Code but apply them to Visual Studio. When it comes to creating projects, debugging, or running your Blazor app, Visual Studio offers similar tooling. For instance: 

    Instead of using the Command Palette in VS Code to create a new Blazor app, in Visual Studio, you can simply go to File > New > Project and choose Blazor Web App. 

    For running and debugging, Visual Studio provides an integrated experience without needing to install additional extensions like the C# Dev Kit. 

    2.Command-Line Instructions: If there are any CLI-based instructions (like dotnet new blazor), you can run those commands directly from Visual Studio’s integrated terminal (View > Terminal) or your preferred terminal outside of Visual Studio. 

    The key difference is just that Visual Studio Code uses additional extensions (C# Dev Kit) for Blazor development, while Visual Studio already has full support for Blazor built in. 

    Screenshot for your reference: 

    User's image

    If you have further questions, please let us know 

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.        

    Thank you. 

    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.