A Microsoft Learn course on the basics of Blazor
I'm following the Blazor ToDo List Microsoft Learn tutorial.
In the tutorial they used .NET 6.
I'll use .NET 8
I've got .NET 6 and 8 installed on my desktop. But there's some differences. First, the tutorial, when I work with it at home, allows me to chose between erither VS Code or Visual Studio. And the other thing is from within Visual Studio, I cannot create a Blazor Server App cannot be created for .NET 8. At best I can only create it for .NET 7. And when I run the command dotnet --list-sdks
doesn't list .NET 7, in Visual Studio. At best that I create a Blazor Server App with .NET 6.
For some reason I don't understand, the Microsoft Learn course had two pages for unit 3 of this tutorial, which was VERY confusing!!! Since at this point I was more interested in learning Blazor Server apps than the pecularities of Visual Studio Code with Blazor, I decided to follow this unit 3 page instead. I did not use the link at the beginning of this README!
The summer page has links to additional Microsoft Learn courses on Blazor.
I've just discovvered (12/25/2023) that Microsoft decided to remove the Blazor Server App template when creating a new Blazor project. They're consolidating project types. It is documented in the What's New in ASP.NET Core 8.0, the New Blazor Web App template section. So, I could have started this using .NET 8 project template. Oh well.