.NET MAUI Samples

November 3, 2025 ยท View on GitHub

Samples built with .NET Multi-platform App UI (.NET MAUI).

.NET MAUI is a cross-platform framework for creating mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that can run on Android, iOS, iPadOS, macOS, and Windows from a single shared codebase.

Official Samples

Official samples can be accessed via the Samples browser.

Sample highlights include:

NameDescription
SimpleChatClient (AI)A minimal .NET MAUI sample that wires Microsoft.Extensions.AI into a chat UI.
ChatClientWithTools (AI)A .NET MAUI sample showing how to enhance using an LLM via Microsoft.Extensions.AI with tool function calling. This can improve reliability and repeatability of responses, as well as enable the LLM to answer queries it otherwise could not.
.NET eShopA reference .NET application implementing an e-commerce website using a services-based architecture using Aspire.
Point of SaleThis app demonstrates various techniques for building a desktop and mobile application that takes advantage of native platform features, and adapts to a wide range of device needs all from a single codebase.
Weather '21 AppThis is a .NET MAUI app showcasing responsive UI that adapts to desktop and mobile, and integrates with native platform features.
Calculator AppThis basic calculator demonstrates using span and spacing features of a Grid layout to achieve a familiar interface.
Navigation SamplesVarious sample apps that show you how to do navigation in different scenarios.
Beginner's Series Task App SampleSample code for the .NET MAUI for Beginners Series

Community Samples

.NET Foundation

There are many .NET related projects on GitHub.

  • .NET home repo - links to hundreds of .NET projects, from Microsoft and the community.
  • ASP.NET Core home - the best place to start learning about ASP.NET Core.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

License

.NET (including the maui-samples repo) is licensed under the MIT license.