.NET Framework SDK Samples

The .NET Framework samples span several technology areas and provide solutions using managed code in the Windows® operating systems. Samples demonstrate the base class libraries provided by the .NET Framework and introduce the Windows Foundation Components for .NET Framework, which provide managed classes and interfaces for Windows Vista® presentation, communication, and workflow technologies.

Microsoft .NET Framework (2.0, 3.0, and 3.5) samples are installed with the SDK documents, providing a mechanism to view and browse samples in context of the rest of the documents. These samples fall into three main categories:

  • Compiled sample applications users can download and run, ranging from Hello World type applications to more complex samples.

  • Tutorial-like examples, often presented in topics which teach how to build a sample application, from a blank screen to a running application.

  • Code snippets embedded in topics throughout the document set, commonly in API reference topics, which often contain small code blocks showing the syntax and usage of the members of an API. Doc teams generally own code snippets.

Sample document topics contain options for viewing and copying sample source files and for downloading sample projects as zip files. Each sample topic contains at least one source code selection box that lists all the sample files. There is one box for each programming language provided by the sample. If a user is viewing this documentation on the Web instead of in local Help, a link to download the sample is provided.

Samples for a technology area are organized by Application Samples and Technology Samples. Application samples demonstrate complete programs that provide features or tools necessary to complete a task. Technology samples show how a technology works without necessarily completing a task.

Additionally, the .NET Framework samples are available in bulk by directly opening the sample .zip files located in %MSSDK%\Samples.

The .NET Framework samples are also available outside the documents, in zip format installed to %MSSDK%\Samples. The zip files provide a mechanism to extract large subsets of samples at once.

In This Section

See Also

Concepts

New Windows SDK Samples