Code

The following articles come with code downloads. To get the code downloads, click on the article titles, then click on the Code Download button.



Expression Blend Drawing Tips

Papa shows how to build a simple button using Expression Blend.

Take Advantage of XML Comments (Part 2)

On VB columnist Joe Kunk continues his examination of XML comments by extending the XML comment vocabulary with additional default tags in Visual Basic and showing how to process the resulting XML file into API-style reference documentation using the SandCastle Help File Builder.

C# Questions Answered: Lambda, C# Traps, Unsafe Code

Patrick Steele responds to questions about Lambda properties, interface-based code, and unsubscribing from events, among others.

Tear-Off ToolStrips in Windows Forms

Starting with Microsoft Office, users have been able to double-click or drag a toolbar and have it become a floating window that can be moved or docked to the side of the application window. Here's how to implement a basic version of this behavior in C# Windows Forms applications.

Reactive Extensions: Just What the Doctor Ordered (Part 3)

In the final installment of this three-part series on Reactive Extensions for .NET, Eric Vogel shows how to put together all the pieces to create a working, reactive application.

An Encrypted String Data Type for Visual Studio LightSwitch

Learn how to extend support for Microsoft C#-only BlankExtension/BizType projects to Visual Basic.

Reactive Extensions: Just What the Doctor Ordered (Part 2)

In Part 1, VSM columnist Eric Vogel covered the basics of the Reactive Extensions (Rx) library. In this installment he explores how to observe asynchronous methods, tasks and events, as well as how to compose observable sequences using LINQ.

Automate Microsoft Excel with Visual Studio 2010

Enhancements in the .NET Framework 4 and Visual Studio 2010 make Office automation solutions easier than ever to write and deploy. Here's an Excel automation scenario that reflects solutions that I've seen requested by multiple clients.

New Migration Paths to the Microsoft Cloud

Will emerging developer tools and hybrid Platform as a Service features ramp up project and data deployments to Windows Azure?

Reactive Extensions: Just What the Doctor Ordered (Part 1)

The Reactive Extensions (Rx) Library is a set of extensions for the IObservable<T> and IObserver<T> interfaces that greatly simplifies the orchestration and composition of asynchronous functions and events.

Clear Cross-Cutting Concerns with Aspect Oriented Programming in .NET

How to use the PostSharp AOP library to encapsulate cross-cutting concerns into efficient and re-usable modules.

Not Just a Designer: Code First in Entity Framework

Code First is a new development approach in the Entity Framework 4.1 stack that can simplify the understanding and maintenance of your domain model.

Deleting all Data from a SQL Server Database (Part 2)

In part 2 of a series, On VB columnist Joe Kunk provides a Visual Basic program to generate a SQL script that clears all the data from a SQL Server database.

Extending a C# Application Through a Scripted DLR Language

The DLR Hosting API allows a DLR language to be scripted from a CLR language such as C# and VB.NET, extending the functionality of an application through scripts coded in one of the many DLR supported languages.

A Walk Through the Windows Phone 7 Social Reader Template

Mobile Corner columnist Nick Randolph walks through a template that can get your first Windows Phone 7 application up and running fast.

Subscribe on YouTube