33 Using Blazor Server, part 1

This chapter covers

  • Creating Razor Components to add client-side interactivity to ASP.NET Core applications
  • Understanding how JavaScript events are used to respond to user interaction
  • Managing event propagation in a Razor Component
  • Understanding how to define Razor Components

Blazor adds client-side interactivity to web applications. There are two varieties of Blazor, and in this chapter, I focus on Blazor Server. I explain the problem it solves and how it works. I show you how to configure an ASP.NET Core application to use Blazor Server and describe the basic features available when using Razor Components, which are the building blocks for Blazor Server projects. I describe more advanced Blazor Server features ...

Get Pro ASP.NET Core 7, Tenth Edition 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.