-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
For the projects in this book, I'll be using the .NET 10 SDK for building apps, Microsoft Visual Studio Community 2026 for my IDE, Microsoft SQL Server 2025 Express Edition for data storage, and Microsoft Azure for cloud hosting.
You will need .NET 10 installed on your PC to complete the projects in this book. To determine the version of .NET that is running on your computer, open Command Prompt and enter the following command:
dotnet –-version
If your computer is not running .NET 10.0 or higher, follow the directions in the Installing .NET 10 SDK section later in this chapter.
All the projects are built using Microsoft Visual Studio Community 2026 (64-bit), version 18.5, with the ASP.NET and Web Development workload. If you need to install Microsoft Visual Studio Community 2026, follow the directions in the Installing Microsoft Visual Studio Community Edition section later in this chapter.
All the screenshots in this book are from Microsoft Visual Studio Community 2026. If you are using a different version of Visual Studio or you're using a different IDE, such as Visual Studio Code, your screens may look different from the screenshots in the book.
Chapter 3, Debugging and Deploying a Blazor WebAssembly App, uses Microsoft Azure to publish a Blazor WebAssembly app to the cloud. If you want to complete the project, you will need a Microsoft Azure account. If you need to create a Microsoft Azure account, follow the directions in the Creating a Microsoft Azure account section later in this chapter.
The project in Chapter 12, Building a Task Manager with Blazor WebAssembly and ASP.NET Core Web API, uses Microsoft SQL Server as the backend database. If you need to install Microsoft SQL Server, follow the directions in the Installing Microsoft SQL Server 2025 Express section later in this chapter.
Although I am using Microsoft SQL Server 2025 Express Edition, any year or edition of SQL Server can be used to complete the projects in this book.
To install .NET 10.0, perform the following steps:

Figure 1.2 – Microsoft .NET SDK installer
dotnet –-version
The following screenshot is from a computer that is running .NET 10.0:

Figure 1.3 – .NET version
You can use any .NET 10.x version. However, preview and nightly builds are not recommended.
Microsoft Visual Studio Community Edition is the FREE edition of Microsoft Visual Studio. To install Microsoft Visual Studio Community Edition, perform the following steps:
VisualStudioSetup.exe file once it finishes downloading.
If you already have an edition of Visual Studio installed, your new installation will be installed side by side.

Figure 1.4 – Select workloads dialog
If you already have Visual Studio Community Edition 2026 installed, ensure that the ASP.NET and web development workload is selected and that the .NET 10.0 WebAssembly Build Tools checkbox is also selected.

Figure 1.5 – The Visual Studio installer
If you prefer to use Visual Studio Code, you can download it from the following URL: https://code.visualstudio.com/download. Install the C# Dev Kit for Visual Studio Code extension to manage your code with a solution explorer and quickly add projects.
Microsoft SQL Server Express is the free edition of Microsoft SQL Server. To install Microsoft SQL Server Express, do the following:

Figure 1.6 – SQL Server 2025 Express Edition installer
Microsoft Azure is Microsoft's cloud platform, offering hundreds of products and cloud services. You can use it to run and manage applications with your preferred tools and frameworks.
If you don't already have a Microsoft Azure account, you can create a FREE account. New accounts come with a generous $200 credit to get you started and over 65 free services.

Figure 1.7 – Microsoft Azure free account
To create a free Microsoft Azure account, do the following:
To complete all the projects in this book, you will need the .NET 10 SDK, a code editor, such as Microsoft Visual Studio Community 2026, a Microsoft Azure account, and any edition of Microsoft SQL Server. This section covered preparing your development environment.