Chapter 4: Understanding Basic Blazor Components
In this chapter, we will take a look at the components that come with the Blazor template, as well as starting to build our own components. Knowing the different techniques used for building Blazor websites will help us when we start building our components.
Blazor uses components for most things, so we will use the knowledge we get from this chapter throughout the book.
We will start this chapter with theory and end by creating a component to show some blog posts using the API we created in the previous chapter, Chapter 3, Introducing Entity Framework Core.
In this chapter, we will cover the following topics:
- Exploring components
- Learning Razor syntax
- Parameters
- Writing our first component