The Blazor Server template comes with the .NET Core 7 SDK. If .NET 7 is installed then simply select Blazor Server App when creating a new project.
If you do not have .NET 7 then install the SDK.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
There are several templates come with .net SDK installation. I am using .net 8 SDK now, but I would like to install some blazor related templates which are coming with .net7 SDK, as I am studying some blazor tutorial videos which were made in .net 7.
I can find these old blazor templates after install .net 7 sdk. But I would like to know if there is a way to install previous template without installing the old SDK, e.g. blazorwasm? Thanks!
The Blazor Server template comes with the .NET Core 7 SDK. If .NET 7 is installed then simply select Blazor Server App when creating a new project.
If you do not have .NET 7 then install the SDK.
I would not bother with blazor 7 templates. If you can not use a Blazor 8 template with the sample code, then I’d skip the tutorial. Generally you will understand the code better if you need to convert to current version. also see breaking changes:
https://learn.microsoft.com/en-us/dotnet/core/compatibility/8.0