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 can be accessed via the Samples browser.
Sample highlights include:
| Name | Description |
|---|---|
| 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 eShop | A reference .NET application implementing an e-commerce website using a services-based architecture using Aspire. |
| Point of Sale | This 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 App | This is a .NET MAUI app showcasing responsive UI that adapts to desktop and mobile, and integrates with native platform features. |
| Calculator App | This basic calculator demonstrates using span and spacing features of a Grid layout to achieve a familiar interface. |
| Navigation Samples | Various sample apps that show you how to do navigation in different scenarios. |
| Beginner's Series Task App Sample | Sample code for the .NET MAUI for Beginners Series |
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.
.NET (including the maui-samples repo) is licensed under the MIT license.