MSDN Code Gallery

Download and share sample applications, code snippets, and other resources with the developer community.
MSDN Code Gallery RSS Feed

Browse and Download

Browse MSDN Code Gallery
Browse the Code Gallery to find samples contributed by the community.

Upload New Resource

Upload new resource
Create a new Resource Page to share code, provide an overview and host discussions about your code or resource.
Microsoft does not control, review, revise, endorse or distribute the third party resources on this site. Microsoft is hosting the MSDN Code Gallery site solely as a web storage site as a service to the developer community. For more information, read the Terms Of Use.

Newly Released Resources

Technoera.Common 3.5
Work in progress... This will be a public repository for our "most used" libs related to Microsoft .NET Framework 3.5 features.

SSS AssemblyVersion Task
MSBuild task to automatically update the Assembly Version number.

Simple XNA animation From legend of the green warrior game.
This example contain the source code for xna animation in the XNA Simulation game legend of the green warrior.

C# - introduction to classes
An example for introducing classes. More....

ZNet Free Asp.net Controls
Free Asp.net 1.0 ZNet Controls - GridView with data grouping and indexing

Simple WPF media player
This example contain simple WPF media player. Using expression blend you can do the design part. For the media funcionalities i use Visual Studio. ...

Using More Than one Language in your .NET Application
This example shows you how to use more Than one Language in your .NET Application. In this i use VB.NET ,J#.NET and C# .NET. C# windows applicatio...

Install Key
Add License Validation, Product Activation, and Installation Keys to your .Net based application. Prevent casual copying and keep your customers h...

Microsoft Office SharePoint Server 2007 SDK Search Samples
Find Enterprise Search code samples for the Microsoft Office SharePoint Server 2007 SDK here.

Code Analysis Dictionary Schema
An XSD schema for the Visual Studio Code Analysis Dictionary file format. Copy the file to C:\Program Files (x86)\Microsoft Visual Studio 9.0\Xml\...

 

Most Popular Resources

Employee Info Starter Kit
This is a starter kit, which includes very simple user requirements, where we can create, read, update and delete (crud) the employee info of a com...

Internet Explorer 8 Beta 1 Whitepapers
These whitepapers will tell you how to keep your site working with--and how to make it "light up" with--Internet Explorer 8. The whitepapers cover...

Visual Basic Forms over Data Video Series Samples
This how-to video series is dedicated to getting Visual Basic developers productive on areas of data-based Windows Application development.

C# Samples for Visual Studio 2008
Our first release on CodeGallery contains updates to the official C# samples that ship with Visual Studio 2008.

Visual LINQ Query Builder
Visual LINQ Query Builder is an add-in to Visual Studio 2008 Designer that helps you visually build LINQ to SQL queries. Functionally it provides t...

WPF Forms over Data Videos
This how-to video series is dedicated to getting developers productive on areas of data-based Windows Presentation Foundation (WPF) Application dev...

Tweak MC
TweakMC is a set of useful commands for Media Center Edition, adding additional flexibility to various areas of Media Center.

Internet Explorer 8 Beta 1 Whitepapers (Chinese)
(Chinese language version) These whitepapers will tell you how to keep your site working with--and how to make it "light up" with--Internet Explore...

Microsoft StyleCop
StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an ...

PowerCommands for Visual Studio 2008
PowerCommands is a Visual Studio extension created with the Visual Studio SDK that provides many useful additional menu command functions within th...

Updating...
Page view tracker