© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
T. LitvinaviciusExploring Blazorhttps://doi.org/10.1007/978-1-4842-8768-2_2

2. Razor Syntax and the Basics of Blazor

Taurius Litvinavicius1  
(1)
Kaunas, Lithuania
 

This chapter will get you started with Blazor. As mentioned in the previous chapter, all three types of Blazor have a lot in common. Before we can go any further, we will need to look at the syntax and see how it works. Then we will get into the essentials of Blazor, such as bindings and method execution; all of these topics will be used later in the book.

In this chapter, you will learn about the following:
  • Syntax

  • Element and variable bindings

  • Method executions

  • General page events

Differences Between ...

Get Exploring Blazor: Creating Server-side and Client-side Applications in .NET 7 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.