Chapter 2: Creating Your First Blazor App

In this chapter, we will set up our development environment so that we can start developing Blazor apps. We will create our first Blazor app and go through the project structure, highlighting the differences between Blazor Server and Blazor WebAssembly projects.

By the end of this chapter, you will have a working development environment and have created both a Blazor Server app as well as a Blazor WebAssembly app.

In this chapter, we will cover the following:

  • Setting up your development environment
  • Creating our first Blazor application
  • Using the command line
  • Figuring out the project structure

Technical requirements

We will create a new project (a blog engine) and will continue working on that project ...

Get Web Development with Blazor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.