How To


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.

Integrating Validation with the Entity Framework

Validation should begin as close to your database as possible: in your Entity Framework entities. Here's how you can integrate validation code into both the entities the Entity Framework generates and the ones you write.

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.

Working with ListBoxes in a Windows Phone Application

By overriding templates, you can modify the look and feel of the ListBox without changing the underlying behavior.

Integrating Bing Maps With WPF

Bing Maps moves beyond Silverlight and AJAX with the new native WPF Control, which enables you to build interactive tools for visualizing geographical data on the desktop.

Working with the Windows Phone Application Bar

Nick Randolph shows how to create and work with the Application Bar in your Windows Phone application.

Using Push Notifications in Windows 8

Eric Vogel walks through how to send and receive push notifications in a Windows 8 Metro application.

10 Questions, 10 Answers on Roslyn

10 questions and answers to help understand the Roslyn complier-as-a-service project for Visual Basic and C# developers.

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.

Incremental Validation in WPF

WPF provides the richest environment for developers to incorporate standalone validation classes into their user interfaces—and for business object developers to support an application's user interface.

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.

Porting a Silverlight App to a Metro-Style App

Many developers are worried about the compatibility of Silverlight with Metro-style applications. This project shows that those fears are overblown.

Exploiting the .NET Validation Frameworks

Implementing one of three interfaces can turn your business classes into self-validating components that seamlessly integrate into WPF, Silverlight and ASP.NET MVC applications -- and can be easily extended to other environments.

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.

Construct XAML Forms at Runtime with Resource Files

WPF makes it very easy to load non-executable resources at run time -- including a complete UI in XAML. Here's how to leverage that functionality to create applications that you can customize without recompiling.

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.

IntelliTrace Moves Beyond Development in Visual Studio 11

IntelliTrace can only be used in development environments in Visual Studio 2010 but that changes in the upcoming IDE. Learn how to use the new IntelliTrace in Production features in the Visual Studio 11 Developer Preview.

ASP.NET: Empowering Your Master Pages

You can use your Master Pages just to structure your pages. Or you can integrate them into your application with custom code that your content pages can access.

Dark and Light Themes in a Windows Phone Application

By creating a UI that works well with both dark and light themes, your Windows Phone applications will stand out.

Clean Up NuGet Dependencies With Chewie

Chewie is a domain-specific language that uses PowerShell to tame NuGet installations.

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.

Subscribe on YouTube