From the course: Creating .NET MAUI Applications with Blazor

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Why is navigation a problem for .NET MAUI Blazor applications?

Why is navigation a problem for .NET MAUI Blazor applications? - .NET MAUI Tutorial

From the course: Creating .NET MAUI Applications with Blazor

Why is navigation a problem for .NET MAUI Blazor applications?

- [Instructor] In the first chapter, we started by making an application that was primarily native and used the Shell to go to a page that showed a single Blazor view. Then in the challenge, we flipped that on its head and created a MAUI Blazor app that used the Blazor style navigation and didn't use the Shell at all. The reason why we did this is because XAML MAUI apps and Blazor MAUI apps have completely different navigation systems. The primary navigation component in a normal MAUI XAML app is the Shell, and uses an abstraction for native navigation patterns. The main component for doing manual navigation is the navigation page with the INavigation interface. This is completely different in a MAUI Blazor app that is just razor pages. It uses a nav menu razor that creates a custom navigation system. When pages are to be navigated to, the NavigationManager used instead of the XAML version's navigation service. In…

Contents