Windows-universal-samples

API samples for the Universal Windows Platform.

  • 所有者: microsoft/Windows-universal-samples
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Universal Windows Platform (UWP) app samples

This repo contains the samples that demonstrate the API usage patterns for the Universal Windows Platform (UWP) in the Windows Software Development Kit (SDK) for Windows 10. These code samples were created with the Universal Windows Platform templates available in Visual Studio, and are designed to run on desktop, mobile, and future devices that support the Universal Windows Platform.

Note: If you are unfamiliar with Git and GitHub, you can download the entire collection as a
ZIP file, but be
sure to unzip everything to access shared dependencies. For more info on working with the ZIP file,
the samples collection, and GitHub, see Get the UWP samples from GitHub.
For more samples, see the Samples portal on the Windows Dev Center.

Universal Windows Platform development

These samples require Visual Studio and the Windows Software Development Kit (SDK) for Windows 10.

Get a free copy of Visual Studio Community Edition with support for building Universal Windows Platform apps

Additionally, to stay on top of the latest updates to Windows and the development tools, become a Windows Insider by joining the Windows Insider Program.

Become a Windows Insider

Using the samples

The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio.

Download the samples ZIP

Notes:

  • Before you unzip the archive, right-click it, select Properties, and then select Unblock.
  • Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.
  • In Visual Studio, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.

The samples use Linked files in Visual Studio to reduce duplication of common files, including sample template files and image assets. These common files are stored in the SharedContent folder at the root of the repository, and are referred to in the project files using links.

Reminder: If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped. You must unzip the entire archive if you intend to build the samples.

For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the Windows Developer Center. These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.

Contributions

These samples are direct from the feature teams and we welcome your input on issues and suggestions for new samples. At this time we are not accepting new samples from the public, but check back here as we evolve our contribution model.

This project has adopted the Microsoft Open Source Code of Conduct.
For more information, see the Code of Conduct FAQ
or contact opencode@microsoft.com with any additional questions or comments.

See also

For additional Windows samples, see Windows on GitHub.

Samples by category

App settings

Audio, video, and camera

Communications

Contacts and calendar

Controls, layout, and text

Custom user interactions

Data

Devices and sensors

Files, folders, and libraries

Gaming

Globalization and localization

Graphics and animation

Holographic

Identity, security, and encryption

Launching and background tasks

Maps and location

Networking and web services

Platform architecture

Speech and Cortana

Tiles, toasts, and notifications

主要指標

概覽
名稱與所有者microsoft/Windows-universal-samples
主編程語言JavaScript
編程語言C++ (語言數: 11)
平台
許可證MIT License
所有者活动
創建於2015-03-06 22:13:13
推送於2024-09-18 22:26:49
最后一次提交
發布數616
最新版本名稱v19.0.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數9.6k
關注者數1k
派生數7.9k
提交數198
已啟用問題?
問題數1146
打開的問題數121
拉請求數38
打開的拉請求數30
關閉的拉請求數192
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?