microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
208 stars 7 forks source link

[SUGGESTION] Blazor Web App New Project - Missing Auto render mode project #836

Open jemcmullin opened 5 months ago

jemcmullin commented 5 months ago

Describe the feature you'd like

Using the Command Palette for new project templates, Blazor Web App template option (essentially "dotnet new blazor") could be improved by prompting for a few more options seen in Visual Studio. Currently using the CLI for new projects with the option (-int|--interactivity <None|Server|Webassembly|Auto >).

Other options for this template could be useful such as Include Auth, etc. Referenced: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#blazor

Alternatives considered

Add an additional template for Blazor Web App with interactivity Auto. Seems important as it's different solution setup than current options and was highly promoted with .NET8 release.

Environment Information

No response

julioct commented 4 months ago

Yes, please, I'm trying to create an empty Blazor project with no interactivity and there's no way to do this with the C# Dev Kit project templates.

Only way to do it is via the CLI, like this:

dotnet new blazor --interactivity None --empty -n MyProject
smitpatel commented 1 month ago

This is the list of parameters shown for blazor web app in UI for improved experience image