# microsoft/WindowsAppSDK-Samples

Feature samples for the Windows App SDK

Repository: https://github.com/microsoft/WindowsAppSDK-Samples
Canonical: https://ross.abutalabs.com/products/windowsappsdk-samples
Language: C++
License: MIT
License Family: permissive
Topics: samples, windows, csharp, cpp, windows-10, window-11, winui, windowsappsdk
Last push: 2026-09-02T10:49:44+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 2170, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1005, forks 332 (observed 2026-09-03T02:15:15.006126+00:00)

## What it is
A collection of official sample applications demonstrating features of the Windows App SDK, including WinUI, app lifecycle, deployment, and Windows AI APIs like Phi Silica, OCR, and Windows ML. Samples are provided in C++, C#, and Python.

## Use cases
- learn how to use Windows App SDK APIs
- find example code for WinUI 3 apps
- run on-device AI models with Windows ML
- implement app lifecycle features like instancing and share target
- get started with Phi Silica and OCR APIs on Windows
- see how to deploy Windows App SDK apps

## When to choose
- you are building Windows desktop apps with the Windows App SDK or WinUI
- you want reference code for Windows AI and ONNX model inference
- you need working examples of app lifecycle, background tasks, or resource management

## When to avoid
- you are targeting non-Windows platforms
- you need production-ready code rather than illustrative samples
- you are building UWP apps not using the Windows App SDK

## Facets
- artifact type: learning-resource
- maturity: active
- function: sdk, developer-tools, machine-learning, ocr
- domain: windows, developer-tools, machine-learning, desktop-applications
- platform: windows, cpp, python
- tags: winui, windows-app-sdk, samples, onnx, windows-ai, csharp

## Member repositories
- microsoft/WindowsAppSDK-Samples (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.006126+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:13:54.064211+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/WindowsAppSDK-Samples (fetched 2026-09-03T02:15:15.006126+00:00, sha d8623fc172c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
