Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
vermeir_nico_introducing_net_6_getting_started_with_blazor_m.pdf
Скачиваний:
19
Добавлен:
26.06.2023
Размер:
11.64 Mб
Скачать

Chapter 6 MAUI

Figure 6-8 shows the result when running on Windows.

Figure 6-8.  Running MAUI MVVM application

Wrapping Up

MAUI is the next iteration of Xamarin, Microsoft’s native cross-platform framework. As we have seen in this chapter, Microsoft is doing a lot of work to have a similar way of working across all of .NET 6. This is clearly visible in the startup class when comparing MauiProgram with Program in ASP.NET. Similar startup structure, the same built-in dependency injection with ServiceCollection, and so on.

Next to unifying the way applications load across .NET, they have also greatly simplified the project structure when compared with Xamarin Forms. Instead of three projects in a brand new solution, we now have a single project structure. In that structure, we have platform-specific folders for all supported platforms, iOS, Android, MacOS through MacCatalyst, and Windows through WinUI 3.

176