.NET Framework Samples

Updated: March 2011

The .NET Framework documentation includes code examples that you can copy directly from topics and paste into your own projects. In addition, downloads for lengthier, more complex examples and sample applications are provided in the MSDN Code Samples Gallery. The samples that are currently available for the .NET Framework include the following:

  • ASP.NET Code Samples - Samples that demonstrate ASP.NET features such as Dynamic Data and the Model-View-Controller (MVC) framework.

  • CLR Code Samples -- Samples that demonstrate features such as deployment, encryption, Managed Extensibility Framework (MEF), and formatting date/time or numeric values.

  • Network Programming Samples -- Samples that demonstrate features of the networking technologies, apart from ASP.NET, that are available in the common language runtime.

  • WPF Documentation Samples - Samples that demonstrate Windows Presentation Foundation (WPF) features.

  • Windows Communication Foundation (WCF) Samples - Samples that illustrate WCF features and usage scenarios.

  • Windows Workflow (WF) Samples - Samples that illustrate WF features and usage scenarios.

  • MSDN Code Samples Gallery - A repository of samples from Microsoft and the developer community. You can search the entire repository or use the predefined categories to find samples associated with specific products or technologies.

See Also

Other Resources

Visual Studio Samples

.NET Framework 4

Change History




March 2011

Added information about the new MSDN Code Samples Gallery.

Information enhancement.