-
Book Overview & Buying
-
Table Of Contents
Web Development with Blazor - Fourth Edition
By :
In this chapter, we will look at the components that come with the Blazor template and begin building our own components. Knowing the different techniques used for creating Blazor websites will help us when we start building our components. Blazor uses components for most things, so we will use the knowledge from this chapter throughout the book.
We will start this chapter with theory and end by creating a component that displays some blog posts using the API we created in Chapter 5, Managing State – Part 1. In between, we will look at how components access services through dependency injection, how render modes affect components, where different kinds of code should live, how lifecycle events control when code runs, and how parameters pass data into components.
As such, we will cover the following topics: