Use Inversion of Control to decouple views and viewmodels in WPF.
- By Patrick Steele
- 10/01/2011
IComparable and IComparer sound the same and work in similar ways, but there are important differences you need to know.
- By James McCaffrey
- 10/01/2011
If you start "thinking in LINQ" you'll get more done with less code, and what you write will be simpler than using SQL.
Lazy Loading is a programming pattern useful for resource-intensive objects.
Was "Calvin code" genius or tomfoolery?
Build a Web site using MVC 3 and the Razor View Engine.
Aspect Oriented Programming is great for handling cross-cutting concerns such as logging, security, and threading.
Developers increasingly prefer cloud-based development tooling.
- By Michael Desmond
- 08/17/2011
This article introduces the TAP and the associated .NET language changes that streamline asynchronous programming and extend the multithreading enhancements in the Microsoft .NET Framework 4.
- By Mark Michaelis
- 08/02/2011
Patrick Steele responds to questions about Lambda properties, interface-based code, and unsubscribing from events, among others.
- By Patrick Steele
- 08/02/2011
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.
- By Brian C. Hart
- 08/01/2011
For years, nobody cared that the legacy image-syncing application consumed as much bandwidth and processing time as it did.
Robby Ingebretsen's July VSInsider column on HTML5 produced plenty of opinions.
- By Readers of Visual Studio Magazine
- 08/01/2011
Microsoft faces new threats today, like smartphones and tablets, but are they more severe than past ones?
- By Michael Desmond
- 08/01/2011
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.
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.
Readers respond to the May cover story (".NET at the Crossroads") on the direction of C# and Visual Basic.
- By Readers of Visual Studio Magazine
- 06/01/2011
This article will introduce you to the concept of exposing parts of your application logic as lambda properties. By making these properties read/write, you can plug in specific functionality with more control than subclassing.
- By Patrick Steele
- 06/01/2011
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.
How to use the PostSharp AOP library to encapsulate cross-cutting concerns into efficient and re-usable modules.