I create a new blazor hosted project, named foo, from the dotnet CLI:
dotnet new blazorwasm --hosted
I run the app with
dotnet run