Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2022: There is no template Blazor Server App

VS 2022 Version 17.5.0 Preview 6.0

I want to create a Blazor Server app : in the VS 2022 but see only 3 templates:

Blazor Server App Empty
Blazor WebAssembly App Empty
NETMAUI Blazor App

But here is no Blazor Server App template. I try to reproduce this: https://thecodeblogger.com/2022/09/28/net-7-getting-started-with-blazor-server-app/

Why the VS by the link has these templates. What is the problem with my VS 2022? Can I add template to VS 2022? The VS suggests me NET 7 only. How can I use NET 6?

like image 581
ZedZip Avatar asked Jan 27 '26 04:01

ZedZip


1 Answers

Blazor is part of ASP.NET and that requires the "ASP.NET and web development" workload to be installed.

You can get at the installer screen with the Tools|Get Tools and Features menu item.

like image 83
Henk Holterman Avatar answered Jan 29 '26 01:01

Henk Holterman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!