.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.

.NET Framework Samples

Provides instructions for using the base class libraries of the .NET Framework, and samples of the several technologies that contribute to the Framework's library of managed classes and interfaces. Also includes the .NET Compact Framework.

Windows Presentation Foundation Samples

Provides instructions for using Windows Presentation Foundation objects to create Windows client applications with rich user interface features.

Windows Communication Foundation Samples

Provides instructions for using Windows Communication Foundation objects to create service-oriented applications that can integrate the Internet and various platforms.

Windows Workflow Foundation

Provides instructions for using Windows Workflow Foundation objects to create workflow-enabled applications that cover a wide range of scenarios.

Windows CardSpace Samples

Provides instructions for using Windows CardSpace to manage users' digital identities.

Cross Technology Samples

Provides instructions for combining Windows technologies to cover a wide range of scenarios:

Show: