O'Reilly logo

Blazor Revealed: Building Web Applications in .NET by Peter Himschoot

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Peter Himschoot 2019
Peter HimschootBlazor Revealedhttps://doi.org/10.1007/978-1-4842-4343-5_3

3. Components and Structure for Blazor Applications

Peter Himschoot1 
(1)
Melle, Belgium
 

In the previous chapter on data binding, you built a single monolithic application with Blazor. After a while, it will become harder and harder to maintain.

In modern web development, we build applications by constructing them from components, which typically are built from smaller components. A Blazor component is a self-contained chunk of user interface. Blazor components are classes built from Razor and C# with one specific purpose (also known as the principle of single responsibility) and are easier to understand, debug, and maintain. And of course, you can use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required