May 2026
Intermediate
598 pages
10h 39m
English
Razor components are the building blocks of Blazor WebAssembly apps. A Razor component is a chunk of user interface with processing logic that can be shared, nested, and reused. Razor components are ordinary C# classes and can be placed anywhere in a project.
Razor components,
Threads of logic weave the page —
Deep tree wakes the DOM.
This chapter explores Razor components. You'll learn what they look like, how to use them and how to build your very own components. You'll learn how to use parameters to enable dynamic content, how to use the @page directive to define routing and experience firsthand how Razor syntax lets you combine C# code with HTML markup. Finally, you will learn about leveraging ...
Read now
Unlock full access