Code samples

Learn how to build great apps for Windows by experimenting with our samples. These samples show you how features work and help you jumpstart your own apps.

Featured samples

Coloring Book app sample
Coloring Book

A UWP app sample that demonstrates Windows Ink, printing, and making in-app purchases from the Store.

Lunch Scheduler app sample
Lunch Scheduler

A UWP app sample that demonstrates a multi-user lunch scheduling scenario utilizing push notifications, user authentication, UI controls, and Azure integration, integrating with third party services such as Yelp and Twilio.

UWP Customer Order Database sample
UWP Customer Order Database sample

This code demonstrates a working customer order database hosted on Azure, implemented in C# and XAML, and ready to form the basis of your Windows Store enterprise app.

Photo Sharing App
Photo Sharing sample

A UWP app sample that demonstrates real-world social media experiences around photo sharing.

query category language platform
results for . Reset
results.
Name Description

Other Microsoft samples

Windows task snippets

Snippets of ready-to-use code that accomplish small, but useful, tasks of interest to UWP app developers. These snippets show simple solutions to common problems, and simple recipes to help you implement new app features.

Windows UI dev labs

This repo contains code samples, demos, experiments, prototypes, and preview explorations that show how to use Windows.UI.Xaml and Windows.UI.Composition to make beautiful UWP applications.

Windows 10 samples for IoT

Code samples to help you get started with developing for Windows on Devices.

UWP community toolkit

The UWP Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10.

Win2D

Win2D is an easy-to-use Windows Runtime API for immediate mode 2D graphics rendering with GPU acceleration. It is available to C# and C++ developers, and utilizes the power of Direct2D, integrating seamlessly with XAML and CoreWindow.

DirectX 12 graphics samples

DirectX 12 Graphics samples that demonstrate how to build graphics intensive applications on Windows.

Windows desktop application samples

Desktop application code samples for examples of Win32 and .NET development. These samples cover a wide array of areas, ranging from networking to the UPnP framework.

Windows 8.1 app samples

Samples designed to run on Windows 8.1 and/or Windows Phone 8.1, and demonstrate the programming models, features, and components available in Windows 8.1.

Was this page helpful?
Additional feedback?
Thank you! We appreciate your feedback.