dotnet new -i MSBuild.SDK.SystemWeb.Templates
dotnet new systemweb
or
dotnet new systemwebfull
To select the VB.Net version use the flag -lang VB
e.g.
dotnet new systemweb -lang VB
dotnet new systemwebrazorlib
To select the VB.Net version use the flag -lang VB
e.g.
dotnet new systemwebrazorlib -lang VB
Alternatively use the Visual Studio Add Project dialog.
You need to have enabled the Preview feature to show .NET CLI Templates in Visual Studio and have Visual Studio 16.8 Preview 2 or higher.
The ability to use templates is built into VS2022.
You can find the new templates easily by selecting System.Web from the Project Type dropdown.
For more information see