Running blazor on macOS

blazor c# macos visual-studio

Question

Is there a way to develop with blazor on mac? I saw the getting started guide and the first problem I saw was that there is no template in the visual studio for mac or ASP.NET Core Blazor Language Services*** extension to be able to run it.

If there is a way can you give me some beginner steps to start a simple project ?

Accepted Answer

Have a look at the available templates: https://github.com/dotnet/templating/wiki/Available-templates-for-dotnet-new

In your case it would be: dotnet new -i Microsoft.AspNetCore.Blazor.Templates::*

The documentation on blazor.net can help you get started, scroll down to where it shows you how to create via command line.



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why