maui-samples  by dotnet

.NET MAUI app samples for cross-platform development

Created 5 years ago
3,557 stars

Top 13.5% on SourcePulse

GitHubView on GitHub
Project Summary

.NET MAUI Samples provides a collection of official and community-driven examples for .NET Multi-platform App UI (.NET MAUI). This repository targets developers looking to build cross-platform applications for Android, iOS, iPadOS, macOS, and Windows using C# and XAML from a single codebase. It serves as a practical resource for understanding MAUI's capabilities and implementing various app features.

How It Works

This repository showcases .NET MAUI's cross-platform development capabilities through diverse sample applications. It demonstrates how to leverage C# and XAML to create UIs that adapt to different devices and platforms. Key samples highlight integrations with modern technologies like AI (e.g., chat clients with LLM tool calling) and architectural patterns (e.g., e-commerce with Aspire), illustrating practical application development workflows.

Quick Start & Requirements

This repository primarily serves as a collection of sample code. Specific setup instructions, prerequisites (like .NET SDK versions, target platforms, or specific hardware), and installation commands for individual samples are not detailed within this README. Users are directed to the general .NET MAUI documentation for broader setup guidance.

Highlighted Details

  • Features AI-integrated samples like SimpleChatClient and ChatClientWithTools, demonstrating LLM integration and tool function calling.
  • Includes a reference .NET eShop sample built with Aspire, showcasing a services-based architecture.
  • Demonstrates responsive UI design, native platform feature utilization, and navigation patterns across mobile and desktop platforms.
  • Offers samples for beginners and showcases various layout techniques, such as using Grid for familiar interfaces.

Maintenance & Community

The project is part of the .NET Foundation and adheres to the Contributor Covenant Code of Conduct. Links to community resources like "Awesome .NET MAUI" and ".NET MAUI Showcase" are provided, alongside official documentation and website links.

Licensing & Compatibility

The .NET MAUI project, including this samples repository, is licensed under the permissive MIT license. This license generally allows for broad compatibility, including commercial use and linking within closed-source applications.

Limitations & Caveats

This repository is a collection of samples and does not provide a framework or library itself. Specific setup and execution details for each sample may vary and require consulting the individual sample's documentation or the broader .NET MAUI development guides. The README does not detail specific version requirements or potential compatibility issues between samples and the latest MAUI releases.

Health Check
Last Commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
13
Issues (30d)
4
Star History
51 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.