C#


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.

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.

Demystifying the C# Yield-Return Mechanism

You can write cleaner, more efficient code with Yield-Return; the key is knowing the right situations for using the statement.

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.

Building a Windows 8 Metro App, Part 2

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

Building a Windows 8 RSS Reader

Eric Vogel walks through a soup-to-nuts demo for building a Metro-style RSS reader.

Visual Basic Improvements in Visual Studio 11

Visual Basic development in Visual Studio 11 offers asynchronous methods, iterators, call hierarchy, the Global keyword and Windows 8 Metro-based applications.

Salary Survey: Reasons for Optimism

Even with a terrible economy, Microsoft-focused developers are doing well, according to our salary survey.

Test-Driven Development, Generate from Usage and Continuous Testing

Use Test-Driven Development, generate from usage and a free Visual Studio add-in to let you spend more time doing what programmers want to do: writing code that works.

Working with Parser Combinators

Parser combinators are put to work in a real-life scenario as custom configurations are designed for neuro-optical scientific experiments in which optical tissue is stimulated and the results are recorded.

Roslyn CTP Code Analysis

Learn how to leverage the C# code analysis and compilation features in the Roslyn CTP.

Mono Release Aimed at Android Tablets

Developers can now use C# to build apps for the Kindle Fire, Motorola Zoom and other Android-based devices.

A Review of Visual Studio 11 Developer Preview

In addition to adding a new paradigm with Windows 8/Metro, Microsoft has upgraded its core development products; this comprehensive overview takes it all in.

Windsor: Beyond Dependency Injection in WPF

Dig deeper into the Castle Windsor IoC container by learning how to control dependencies.

Integrating Lambda Expressions and Events

Using lambda expressions is a more compact way of wiring up events in both C# and Visual Basic. It also provides a way of passing parameters to an event without having to redefine the event's parameters.

Using The Roslyn Scripting API in C#

Learn how to utilize the Roslyn Scripting API to host a C# scripting engine in your applications.

Understanding Iterators: Concepts, Benefits and Functionality

Iterators are available for Visual Basic in Visual Studio 2010 after installing the latest Visual Studio Async CTP, and natively in Visual Basic 11.

Silverlight Skills Carry Over to Windows 8 'Metro Style' Apps

Windows 8 is an early preview, but has enough of its shape to show XAML developers that their skills are applicable.

Free Databases in the Window Azure Marketplace

The Windows Azure Marketplace has a hidden jewel: a host of free and nearly free databases ready for monetization.

Developer Recommendations from BUILD

Joe Kunk sifts through the Windows 8 announcements at BUILD and offers advice on next steps.

Subscribe on YouTube