Code Samples
Imagine the possibilities of running C# and XAML 
on Web, Desktop and Mobile natively
 
															Popular samples
To show Uno Platform’s versatility we tinker around with technology and share with you full-blown apps and code samples you can learn from
 
															Simple Calculator
Simple Calc Workshop is a beginner level learning opportunity that covers a wide range of app development skills and techniques with Uno Platform.
 
															Uno Tube Player
Tube Player workshop offers a comprehensive learning experience that covers cross-platform development, UI design, architectural patterns, and API integration.
Browse all samples
									To show Uno Platform’s versatility we tinker around with technology and share with you full-blown apps and code samples you can learn from.								
				Auto-Suggest
An implementation of the XAML AutoSuggest control, showing how to autofill suggestions for user input.
                    
                        C#                    
                    
                Authn with OpenID Connect
Using WebAuthenticationBroker in Uno Platform with an OpenID Connect endpoint.
                    
                        C#                    
                    
                BluetoothExplorer
A sample that allows the user to search for nearby Bluetooth connections and connect to...
                    
                        XAMLC#                    
                    
                Benchmark
An implementation of the .NET Benchmark Control, a performance comparison tool.
                    
                        C#                    
                    
                Camera Capture UI
UWP CameraCaptureUI class to capture audio, video, and photos from device camera.
                    
                        XAMLC#                    
                    
                Chat SignalR
Implementing SignalR library for asynchronous notifications in an Uno Platform application.
                    
                        XAMLC#                    
                    
                CardView Migration
An Uno conversion of the Xamarin CardView sample showing how to migrate a custom control
                    
                        XAMLC#                    
                    
                Control Library
An example of creating a custom control library and calling a control from your shared...
                    
                        C#                    
                    
                Custom Sorting
Sample app to demonstrate how to add custom sorting logic to your app. Accompanies "Adding...
                    
                        XAMLC#                    
                    
                Dual-Screen
Sample using the TwoPaneView control spanned across dual screens (such as Neo or Duo dual-screen...
                    
                        XAMLC#                    
                    
                Entity Framework Core Demo
An example of Entity Framework Core 7 with a SQLite storage for WebAssembly, WinAppSDK, iOS...
                    
                        XAMLC#                    
                    
                EmbeddedResources
An example that demonstrates the use of embedded resources and how to read them from...
                    
                        XAMLC#                    
                    
                HtmlControls
This is a WASM-only sample. It is creating native HTML elements that can be used directly in...
                    
                        XAML                    
                    
                Inserting Separators
This example demonstrates the dynamic creation of a menu incorporating nested items as well as...
                    
                        XAMLC#                    
                    
                Map Control
An implementation of the UWP Maps control with a custom slider that binds the value...
                    
                        XAMLC#                    
                    
                Localization Sample 2
RuntimeCultureSwitching: An example of changing app language while it is running. Follow the tutorial
                    
                        C#                    
                    
                DevExpress Controls
Add DevExpress .NET MAUI Controls in Uno Platform apps using .NET MAUI Embedding.
                    
                        XAMLC#                    
                    
                Esri ArcGIS Maps SDK for .NET
Embeds the Esri ArcGIS Maps SDK for .NET that demonstrates third-party control libraries embedded in Uno...
                    
                        C#                    
                    
                GrapeCity .NET MAUI Controls
Embeds the GrapeCity ComponentOne .NET MAUI Controls in an Uno application.
                    
                        XAMLC#                    
                    
                Syncfusion .NET MAUI Controls
Embeds the Syncfusion .NET MAUI Controls in an Uno Platform application.
                    
                        XAMLC#                    
                    
                .NET MAUI Comm. Toolkit
Embeds the .NET MAUI Community Toolkit in an Uno Platform application.
                    
                        XAMLC#                    
                    
                Migrating Xamarin.Forms Animations
Code to accompany the blog post on migrating animations from Xamarin Forms to Uno.
                    
                        XAMLC#                    
                    
                Telerik UI for .NET MAUI
Embeds the Telerik UI for .NET MAUI in an Uno Platform application.
                    
                        XAMLC#                    
                    
                Migrating Xamarin.Forms Effects
XamarinFormsEffect: A reference implementation of an effect with an Android implementation.
                    
                        XAMLC#                    
                    
                Native Frame Navigation
An example showcasing how to set up the native frame navigation for iOS and Android,...
                    
                        C#                    
                    
                UnoEffectSample
Showcasing how to replace Effects with either ControlTemplates or custom code accessing the native control.
                    
                        XAMLC#                    
                    
                Native Style Switch
An example of a toggle that allows you to switch between Native UI Controls and...
                    
                        XAMLC#                    
                    
                Package Resources
An example that demonstrates the use of package assets and how to read them from...
                    
                        XAMLC#                    
                    
                Pet Adoption UI
An example that demonstrates the use of pipspager with a flipview, in an app created...
                    
                        XAMLC#                    
                    
                SkiaSharp Test
An example of the Uno implementation of SkiaSharp creating a basic canvas with text.
                    
                        XAMLC#                    
                    
                Splash Screen Sample
An example showing how to set the splash/launch screen in Uno Platform. Follow the tutorial
                    
                        XAMLC#                    
                    
                SkiaSharp Skottie: Lottie file player
This samples shows the use of the SkiaSharp.Skottie component, which allows the playback of lottie files.
                    
                        XAMLC#                    
                    
                SQLite
This is a simple standalone app demonstrating the use of SQLite in an Uno application,...
                    
                        XAMLC#                    
                    
                The Cat Api Client
An example demonstrating an approach to consuming REST web services in Uno using HttpClient.
                    
                        XAMLC#                    
                    
                StatusBar Theme Color
An example showing how to adjust the StatusBar and CommandBar dynamically based on the current...
                    
                        XAMLC#                    
                    
                Toy Car
A proof of concept of a car animation using the TwoPaneView control spanned across dual screens (such...
                    
                        XAMLC#                    
                    
                Travel UI
A sample travel app that shows how a user could 1) search for locations, 2)...
                    
                        XAMLC#                    
                    
                Uno Contoso
A port of Microsoft's Contoso Enterprise UWP app to Uno Platform, using Prism.
                    
                        XAMLC#                    
                    
                Uno GoodReads
A sample showing how to make an app containing several pages in a TabView, as...
                    
                        XAMLC#                    
                    
                Uno Ethereum+Blockchain
A sample showing how to integrate smart contracts on the Ethereum blockchain with a multi-targeted...
                    
                        XAMLC#                    
                    
                Uno Islands
This sample shows how you can integrate Uno Platform XAML controls into existing WPF applications...
                    
                        XAMLC#                    
                    
                WebRTC
Demo of the usage of WebRTC in Uno WebAssembly. This sample establishes a direct WebRTC...
                    
                        XAMLC#                    
                    
                WCT DataGrid, TreeView, TabView
A combined Windows Community Toolkit sample showing the DataGrid, TreeView, and TabView controls in action.
                    
                        XAMLC#                    
                    
                WCT DataGrid
A dynamic grid view ported from the Windows Community Toolkit that allows for x:Bind.
                    
                        XAMLC#                    
                    
                Uno Toolkit Material
An example showing how to set up the Uno.Toolkit.Material library,  
                    
                        XAMLC#                    
                    
                XamlBrewer SkiaSharp
Port of the XAML Brewer WinUI3 SkiaSharp Sample application (blog post and source code)
                    
                        XAMLC#                    
                    
                Android Custom Camera
An Android-specific sample that shows how to start a camera capture intent and display the...
                    
                        C#                    
                    
                Advanced XBind
The {x:Bind} markup extensionm new for Windows 10 is an alternative to {Binding}. {x:Bind} runs...
                    
                        C#                    
                    
                