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

Messaging Developer Samples
Provides samples for messaging developers for a wide array of technologies.

ASP.NET CheckBox Validation Control for .NET v2.0 & .NET v3.5
Sadly Microsoft has never included a validation control the CheckBox control. Yet, why would they? A checkbox is to select an option and in a sense...

Creating your first Windows Mobile 6 Application with Visual Studio 2008
Here is a video that shows you how to create your first Windows Mobile 6 (Professional) application using Visual Studio 2008.

SEHE - Skype Event Handler Example - C# Project Example Using Skype4COM and API
SEHE is an example of how to use the Skype API. The full C# project, including source code, and heavily commented is available for download. SEHE ...

Microsoft Small Basic Tone Generator
Extension to Microsoft Small Basic to play musical notes and tones

Windows Mobile Webcast - Using Pocket Outlook Data Inside a Managed Application
Windows Mobile devices ship with Microsoft Pocket Outlook. To limit the amount of data that is stored on Windows Mobile devices and to provide user...

Simple Ray Tracing in C# Part II (Triangles Intersection)
Previously we have seen ray tracing and mapping in spheres. Now I am extending the algorithm to perform ray x triangles intersection calculation. T...

Small Basic
Share code, ideas, tips, suggestions, etc. relating to Microsoft Small Basic!

Simple Ray Tracing in C#
This article demonstrates how to make a simple and very basic Ray Tracing with spheres; it can serve you as a base for implementing more complex al...

Basic Illumination Model in C#
Implementing Ambient, Diffuse and Specular lights

 

Most Popular Resources

Samples Environment for Microsoft Chart Controls
The samples environment for Microsoft Chart Controls for .NET Framework contains over 200 samples for both ASP.NET and Windows Forms. The samples c...

Windows 7 Developer Guide
Build applications on a solid foundation; enable richer application experiences; and integrate the best of Windows and web services. The features a...

C# Future
Samples and documents describing C# 4.0 language and IDE features.

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

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

KB958502-JScript Editor support for “-vsdoc.js” IntelliSense documentation files
This patch adds JScript Editor support for “-vsdoc.js” IntelliSense documentation files

KB957507 - Loc Intellisense to replace all Loc Int shipped with VS 2008 SP1
Loc Intellisense QFE to replace all Loc Intellisense shipped with Visual Studio 2008 SP1 FIX: After you install a non-English version of Microsoft...

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

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

CSharpCodeResources
This is my C-Sharp Code Resources Page. Here you may find some useful C-Sharp Codes that would enhance your productivity in C-Sharp Applications De...

Updating...
Page view tracker