How To


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.

2 Great JavaScript Data-Binding Libraries

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

Building a Windows 8 Metro App, Part 2

Learn how to implement the new sharing contracts in Windows 8 to distinguish your application.

Integrating with the .NET Framework UI Controls

With a little bit of code (along with a .NET interface and collection), you can integrate the properties on your classes with the .NET user interface controls to simplify your presentation layer.

Dealing with Dependencies in Test-Driven Development through Mocking

Mocking is generally an overloaded term. But at its base, it's about changing behavior -- specifically, dependency behavior.

Team Foundation Server 11 Developer Preview: Team Explorer My Work Page

Team Explorer in TFS 11 has added a "My Work" page to review active work items, track changes and work with the Code Review process.

UriMapper in Windows Phone

Nick Randolph looks at how you can use a UriMapper to help structure your Windows Phone application.

Extending XAML Applications with Custom Commands

In WPF and Silverlight,you can separate your UI logic into a set of Command classes that facilitate loose coupling, testable designs, and reusability.

Subscribe on YouTube