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 Windows apps.
Featured samples

BuildCast
Showcases the Microsoft Fluent Design System and UWP capabilities, including ink notes, bookmarks and remote playback.

Lunch Scheduler
See integration with services like Facebook, Microsoft Graph, Bing maps, and Yelp.
TRY ITSamples index
Desktop application samples
Samples that demonstrate a wide range of desktop application scenarios, including Win32, WinRT, and .NET development features.
DirectX 12 graphics samples
Samples that demonstrate how to build graphics intensive applications on Windows using DirectX 12.
Universal Windows Platform (UWP) samples
Samples that demonstrate the WinRT API usage patterns for the Universal Windows Platform (UWP) for Windows 10.
Windows composition samples
Samples, demos, experiments, prototypes, and preview explorations that show how to use Windows.UI.Xaml and Windows.UI.Composition to make beautiful Windows applications.
Windows 10 samples for IoT
Code samples to help you get started with developing for Windows on Devices.
Windows Community Toolkit
A collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks when building apps for Windows 10.
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.
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.