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.



The .NET Command Pattern, Part 2

How to implement an undo/redo system using the Command pattern in the .NET Framework.

Entity Framework Code-First Migrations

Code First Migrations allow for database changes to be implemented all through code. Through the use of Package Manager Console (PMC), commands can be used to scaffold database changes.

The Command Pattern in .NET

In Part 1 of this series, Eric Vogel walks you through a software design pattern that is commonly used to handle UI interactions.

Using Aspect-Oriented Programming to Initialize and Connect WPF Commands

See how a simple interceptor can help reduce the amount of coding needed to initialize your Windows Presentation Foundation ICommand properties.

Code Reuse with External Templates and Knockout.js

External templates allow you to reduce the code in your main HTML page, and reuse it in multiple places.

PCL & Azure How-To: Using Portable Class Libraries and AppFabric Service Bus To Create a Continuous Client

Here's how to build a simple continuous client application that spans multiple devices using the cloud (Azure) to handle communication between the devices.

Roslyn CTP Custom Refactoring

Learn how to extend Visual Studio 2010 by creating code issue providers with the Roslyn CTP.

Windows Cloud: Choosing Between Windows Azure and SQL Azure Table Storage

Both are equally good cloud storage mechanisms -- here's the pros and cons of each so you can make the best decision for your projects.

An EF Code First Tutorial

Code First frees you up from the chore of creating databases for your project. Here's a primer on how to do it.

The Strategy Pattern in .NET

Eric Vogel shows you how to use a common software design pattern that allows an app to dynamically pick an appropriate method at runtime.

Selling Data in the Windows Azure Marketplace

Learn how to publish data in the Windows Azure Marketplace for a monthly income with just a few hours effort.

Building a Windows 8 Metro App, Part 3: Putting it Together

Eric Vogel covers how to use the Windows 8 local data storage APIs to cache application data.

Making Do with Absent Foreign Keys

The absence of foreign key properties in classes adds some challenges to working in disconnected apps.

Simplify Your Projections with AutoMapper

Tired of mapping your classes from one format to another? A convention-based, open source library can help alleviate some of those coding headaches.

2 Great JavaScript Data-Binding Libraries

JavaScript libraries help you build powerful, data-driven HTML5 apps.

Subscribe on YouTube