Looking for Windows 10 samples? See Windows on GitHub.  

This sample pack includes all the app code examples developed and updated for Windows 8.1, including app code examples created using any of the universal app templates available in Visual Studio. Each solution of a universal app code example is structured so the code example can run on both Windows 8.1 and Windows Phone 8.1. For more info about how to build apps that target Windows and Windows Phone with Visual Studio, see Build apps that target Windows and Windows Phone 8.1 by using Visual Studio. The sample pack provides a convenient way to download all the samples at once. The samples in this sample pack are available in C#, C++, and JavaScript. The Windows Samples Gallery contains a variety of code samples that exercise the various new programming models, platforms, features, and components available in Windows 8.1 and/or Windows Server 2012 R2. These downloadable samples are provided as compressed ZIP files that contain a Visual Studio solution (SLN) file for the sample, along with the source files, assets, resources, and metadata necessary to successfully compile and run the sample.

 

Note  These samples require Windows 8.1 and Microsoft Visual Studio 2013. The samples created using any of the universal app templates require that you update your Visual Studio 2013 installation with Microsoft Visual Studio 2013 Update 2 or later. All of these samples can compile in Visual Studio 2013 with Visual Studio 2013 Update 2 or later, but the samples created using any of the universal app templates require Visual Studio 2013 Update 2 or later. These samples don't compile in Microsoft Visual Studio 2012 for Windows 8.

To obtain an evaluation copy of Windows 8.1, go to Windows 8.1.

To obtain an evaluation copy of Visual Studio 2013, go to Visual Studio 2013. After you install Visual Studio 2013, you can update your installation with Visual Studio 2013 Update 2 or later.

For more info about the programming models, platforms, languages, and APIs demonstrated in this sample, please refer to the guidance, tutorials, and reference topics provided in the Windows 8.1 documentation available in the Windows Developer Center. This sample is provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows 8.1 and/or Windows Server 2012 R2.

This pack may be very large and take some time to download.

Operating system requirements

Client
Windows 8.1
Server
Windows Server 2012 R2