Understanding the Blazor Layout and Routing
In the last chapter, we learned how to design a login page using Blazor. The app layout and navigation hierarchy are still XAML-based. Our app is using a mixed UI implementation of Blazor and XAML. Blazor is a different choice of UI design for a .NET MAUI app. In this (second) part of the book, we will rebuild the entire UI using Blazor. The first step of UI design usually starts from the implementation of the layout and navigation, so in this chapter, we will introduce the layout and routing of Blazor.
We will cover the following topics in this chapter:
- Blazor routing
- Using Blazor layout components