© Adam Freeman 2020
A. FreemanPro ASP.NET Core 3https://doi.org/10.1007/978-1-4842-5440-0_34

34. Using Blazor Server, Part 2

Adam Freeman1  
(1)
London, UK
 
In this chapter, I continue to describe Blazor Server, focusing on the way that Razor Components can be used together to create more complex features. Table 34-1 summarizes the chapter.
Table 34-1.

Chapter Summary

Problem

Solution

Listing

Creating complex features using Blazor

Combine components to reduce duplication

3, 4

Configuring a component

Use the Parameter attribute to receive a value from an attribute

5–10

Defining custom events and bindings

Use EventCallbacks to receive the handler for the event and follow the convention to create bindings

11–14

Displaying child content in a component

Use a RenderFragment ...

Get Pro ASP.NET Core 3: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages 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.