9. .NET Multi-Platform App UI
Android, iOS, macOS, Windows & Samsung Tizen
Evolution of Xamarin.Forms
.NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
10. .NET Multi-Platform App UI
Android, iOS, macOS, Windows & Samsung Tizen
Evolution of Xamarin.Forms
Sharing a single code-base
.NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
11. .NET Multi-Platform App UI
Android, iOS, macOS, Windows & Samsung Tizen
Evolution of Xamarin.Forms
Sharing a single code-base
.NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
12. .NET Multi-Platform App UI
Android, iOS, macOS, Windows & Samsung Tizen
Evolution of Xamarin.Forms
Sharing a single code-base
Platform-specific code is available
.NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
13. .NET Multi-Platform App UI
Android, iOS, macOS, Windows & Samsung Tizen
Evolution of Xamarin.Forms
Sharing a single code-base
Platform-specific code is available
For mobile & Desktop
.NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
25. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – Model
DTOs
Services
Domain logic
Not aware of the View
Not aware of ViewModels
26. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – Model
DTOs
Services
Domain logic
Not aware of the View
Not aware of ViewModels
The Model is testable
27. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – Model
DTOs
Services
Domain logic
Not aware of the View
Not aware of ViewModels
The Model is testable
Business logic is reusable
28. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – View
View Logic
Structure, layout, appearance
Xaml (usually)
Use Data Binding for populating values
Not aware of business logic implementation
29. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – View
View Logic
Structure, layout, appearance
Xaml (usually)
Use Data Binding for populating values
Not aware of business logic implementation
Views can change or be created without the domain logic
30. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – View
View Logic
Structure, layout, appearance
Xaml (usually)
Use Data Binding for populating values
Not aware of business logic implementation
Views can change or be created without the domain logic
Same view can use different implementation of ViewModels
31. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – ViewModel
Expose a contract to the view
Commands, Properties
Update the model according to the View
Not aware of the View
The view uses DataBinding
The “contract”
32. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – ViewModel
Expose a contract to the view
Commands, Properties
Update the model according to the View
Not aware of the View
The view uses DataBinding
The “contract”
ViewModels can be used with different Views
33. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – ViewModel
Expose a contract to the view
Commands, Properties
Update the model according to the View
Not aware of the View
The view uses DataBinding
The “contract”
ViewModels can be used with different Views
Testable
34. .NET MAUI
Code.Digest | .NET MAUI 2022 | Introduction to .NET MAUI
MVVM – ViewModel
Expose a contract to the view
Commands, Properties
Update the model according to the View
Not aware of the View
The view uses DataBinding
The “contract”
ViewModels can be used with different Views
Testable
Reusable