Get in Touch

Course Outline

1. Introduction to .NET MAUI and Cross-Platform Development

  • Overview of .NET MAUI architecture and the application lifecycle
  • Multi-platform project structures and single-project architecture
  • Comprehending handlers, controls, layouts, and platform abstractions
  • Implementing platform-specific code and conditional compilation
  • Managing dependencies and NuGet packages
  • Utilizing Visual Studio and the .NET CLI effectively
  • Building and executing applications across Android, iOS, Windows, and macOS
  • Exercise: Create and configure a multi-platform .NET MAUI application

2. Advanced MVVM Techniques and Patterns

  • Revisiting MVVM and the principle of separation of concerns
  • Applying advanced data binding techniques
  • Optimizing binding performance through compiled bindings
  • Utilizing INotifyPropertyChanged and observable collections
  • Implementing commands, asynchronous commands, and command parameters
  • Leveraging CommunityToolkit.Mvvm and source generators
  • Managing ViewModels, services, and application state
  • Implementing navigation and navigation-aware ViewModels
  • Handling validation and application state changes
  • Exercise: Build a multi-page MVVM application with validation and asynchronous operations

3. Dependency Injection and Application Architecture

  • Utilizing built-in .NET dependency injection
  • Understanding service lifetimes: transient, scoped, and singleton
  • Registering platform-specific and shared services
  • Implementing constructor injection and service composition
  • Applying dependency inversion and loose coupling principles
  • Using Repository and service patterns
  • Managing application-wide dependencies
  • Configuring environment-specific services
  • Exercise: Refactor an application using dependency injection

4. Deep Dive into Customizing and Extending .NET MAUI

  • Understanding handlers and the .NET MAUI rendering architecture
  • Creating custom handlers and platform-specific implementations
  • Mapping .NET MAUI controls to native platform controls
  • Extending the functionality of existing controls
  • Developing custom controls from scratch
  • Integrating platform-specific behaviors and APIs
  • Implementing effects, behaviors, and reusable UI extensions
  • Determining when to use handlers, behaviors, effects, or custom controls
  • Exercise: Create and integrate a customized cross-platform control

5. Building Reusable Components and Libraries

  • Designing highly reusable UI components
  • Creating custom controls and ContentViews
  • Implementing component parameterization and data binding
  • Developing reusable behaviors and converters
  • Organizing shared application functionality
  • Creating .NET class libraries for MAUI applications
  • Packaging and distributing reusable components
  • Fundamentals of NuGet package management
  • Exercise: Build a reusable component library

6. Advanced UI/UX, Layouts, and Animations

  • Implementing advanced layouts and responsive UI design
  • Creating adaptive interfaces for phones, tablets, and desktops
  • Utilizing dynamic resources and styling options
  • Managing resource dictionaries and themes
  • Implementing light and dark themes
  • Defining visual states and state-driven UI elements
  • Creating advanced animations and transitions
  • Integrating gesture recognition
  • Performing custom drawing and graphics operations
  • Addressing accessibility considerations
  • Exercise: Create a responsive and animated MAUI interface

7. Handling Complex Data Scenarios

  • Consuming REST APIs from .NET MAUI applications
  • Using HTTP clients and asynchronous data access
  • Managing JSON serialization and deserialization
  • Implementing error handling and retry strategies
  • Storing local data persistently
  • Working with SQLite and local databases
  • Applying Repository patterns for data access
  • Designing offline-first applications
  • Synchronizing local and remote data
  • Developing conflict resolution strategies
  • Implementing caching and cache invalidation
  • Exercise: Implement an offline-capable data-driven application

8. Performance Tuning and Optimization

  • Identifying key performance bottlenecks
  • Optimizing startup-time performance
  • Managing memory and resource usage effectively
  • Minimizing unnecessary UI updates
  • Optimizing bindings and collection rendering
  • Improving image loading and caching efficiency
  • Using async programming to avoid UI-thread blocking
  • Handling background processing tasks
  • Reducing overall application size
  • Managing memory leaks and object lifetimes
  • Exercise: Profile and optimize an intentionally inefficient MAUI application

9. Advanced Debugging and Profiling Techniques

  • Debugging complex cross-platform applications
  • Utilizing breakpoints, watches, and exception handling
  • Diagnosing UI and lifecycle issues
  • Implementing logging and structured diagnostics
  • Using .NET diagnostics and profiling tools
  • Performing CPU and memory profiling
  • Detecting and resolving memory leaks
  • Investigating slow UI rendering issues
  • Debugging platform-specific issues
  • Utilizing device and emulator diagnostics
  • Exercise: Diagnose and resolve common performance and runtime problems

10. Architectural Patterns and Best Practices for Large-Scale Applications

  • Selecting an appropriate application architecture
  • Applying Clean Architecture concepts
  • Implementing layered architecture
  • Ensuring separation of UI, business logic, and data access
  • Using Repository and service abstractions
  • Applying SOLID principles in MAUI applications
  • Managing application state effectively
  • Organizing projects on a feature-based model
  • Designing modular applications
  • Considering scalability and maintainability
  • Exercise: Design the architecture of a production-scale MAUI application

11. Advanced Testing Strategies

  • Unit testing ViewModels and services
  • Testing business logic independently of the UI
  • Mocking dependencies for testing
  • Testing asynchronous code patterns
  • Testing navigation flows and application state
  • Concepts of UI and integration testing
  • Designing a testable application architecture
  • Considering continuous integration practices
  • Exercise: Create a test suite for a MAUI application

12. Security in .NET MAUI Applications

  • Designing secure application architecture
  • Securely storing sensitive information
  • Implementing authentication and authorization
  • Managing security tokens
  • Addressing API security considerations
  • Protecting locally stored data
  • Ensuring secure communication with backend services
  • Handling credentials and secrets securely
  • Mitigating common mobile application security risks
  • Exercise: Implement secure authentication and credential storage

13. Application Deployment and Distribution

  • Building applications for various platforms
  • Managing Release versus Debug configurations
  • Handling application signing and certificates
  • Packaging Android applications
  • Understanding iOS application deployment concepts
  • Packaging Windows applications
  • Managing versioning and releases
  • Configuring environment-specific settings
  • Publishing applications to app stores
  • Considering CI/CD for MAUI projects
  • Exercise: Prepare a MAUI application for production deployment

14. Latest .NET MAUI and Visual Studio Features

  • Reviewing recent .NET MAUI improvements and changes
  • Exploring new controls, APIs, and development capabilities
  • Noting improvements to handlers and platform integration
  • Utilizing Visual Studio tooling and productivity features
  • Adopting modern .NET development practices
  • Evaluating third-party libraries and MAUI Community Toolkit features
  • Considering migration and upgrade paths
  • Maintaining applications across different .NET versions

15. Capstone Exercise: Building a Production-Ready .NET MAUI Application

  • Defining application requirements and architecture
  • Designing the MVVM structure
  • Configuring dependency injection
  • Implementing reusable UI components
  • Connecting to remote and local data sources
  • Adding caching and synchronization mechanisms
  • Implementing validation and error handling
  • Applying performance optimizations
  • Integrating security and authentication
  • Testing critical application functionality
  • Preparing the application for deployment

16. Summary and Next Steps

  • Reviewing advanced .NET MAUI concepts
  • Identifying common architectural and performance pitfalls
  • Recommending best development practices
  • Providing further learning resources
  • Planning next steps toward production-ready MAUI development
  • Q&A and discussion of participants' projects

Requirements

  • Demonstrated proficiency in the C# programming language.
  • A robust grasp of object-oriented programming (OOP) concepts.
  • Working knowledge of the .NET framework.

Target Audience

  • Developers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories