.NET MAUI cross-platform application development build high-performance apps for Android, iOS, macOS, and Windows using XAML and Blazor with .NET 8
An evolution of Xamarin.Forms, .NET MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that’ll run on Android, iOS, macOS, and Windows from a single shared codebase. In this revised edition of .NET MAUI Cross-Platfor...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Birmingham, UK
Packt Publishing Ltd.
2024
|
Edition: | Second edition |
Series: | Expert insight
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Setting custom font icons
- Custom font setup
- Displaying font icons
- Building and debugging
- Windows
- Android
- iOS and macOS
- Building and testing the iOS target
- Building and testing the macOS target
- Migrating from Xamarin
- Migrating and reusing the Shell template from Xamarin.Forms
- Visual Studio project template
- Summary
- Chapter 3: User Interface Design with XAML
- Technical requirements
- Creating a XAML page
- XAML syntax
- XML declaration
- Element
- Attribute
- XML and XAML namespaces
- Creating a new page using XAML
- Creating the same new page using C#
- XAML markup extensions
- Building a user interface
- Layouts
- StackLayout
- Grid
- FlexLayout
- AbsoluteLayout
- Views
- Label
- Image
- Editor
- Entry
- ListView
- Master-detail UI design
- Side-by-side
- Stacked
- Navigation in the master-detail UI design
- ItemDetailPage
- ItemsPage
- Supporting multiple languages
- localization
- Creating a .resx file
- Localizing text
- Summary
- Further reading
- Chapter 4: Exploring MVVM and Data Binding
- Technical requirements
- Understanding MVVM and MVC
- MVVM in PassXYZ.Vault
- Includes bibliographical references and index
- .NET Standard and Portable Class Libraries
- Using Xamarin for cross-platform development
- Xamarin.Forms
- Xamarin.Essentials
- Comparing user interface design on different platforms
- Moving to .NET MAUI
- .NET MAUI Blazor apps
- Developing native apps using .NET
- What's new in .NET 8 for .NET MAUI?
- Native AOT support for iOS-like platforms
- .NET MAUI extension of Visual Studio Code
- Development environment setup
- Using Visual Studio
- Installing .NET MAUI on Windows
- Installing .NET MAUI on macOS
- Visual Studio Code with the .NET MAUI extension
- Summary
- Intro
- Copyright
- Contributors
- Table of Contents
- Preface
- Part 1: Exploring .NET MAUI
- Chapter 1: Getting Started with .NET MAUI
- Overview of cross-platform and full stack technologies
- Native application
- Web application
- Backend services
- Managing development complexity
- Full stack development
- Cross-platform technologies
- Apache Cordova
- Ionic
- React Native
- Flutter
- .NET MAUI
- Analysis of cross-platform full stack solutions
- Comparison of .NET and JavaScript
- Exploring the .NET landscape
- .NET Framework
- Mono
- .NET Core
- Further reading
- Chapter 2: Building Our First .NET MAUI App
- Technical requirements
- Managing the source code in this book
- Download the source code in a compressed file
- Clone the source code per chapter
- Clone the source code from the main branch
- Setting up a new .NET MAUI project
- Creating a new project using Visual Studio
- Creating a new project using the dotnet command
- App startup and lifecycle
- Lifecycle management
- Subscribing to the Window lifecycle events
- Consuming the lifecycle override methods
- Configuring the resources
- App icon
- Splash screen