© Taurius Litvinavicius 2019
T. LitvinaviciusExploring Blazorhttps://doi.org/10.1007/978-1-4842-5446-2_2

2. Razor Syntax and Basics of Blazor

Taurius Litvinavicius1 
(1)
Jonava, Lithuania
 

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

In this chapter, you will learn
  • Syntax

  • Element and variable bindings

  • Method executions

  • Use of general page events

Differences between Razor and Blazor

Simplistically speaking, the difference ...

Get Exploring Blazor: Creating Hosted, Server-side, and Client-side Applications with C# 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.