June 2009


Test-Driven Design:Using Mocks And Tests To Design Role-Based Objects

Use Test-Driven Development with mock objects to design object oriented code in terms of roles and responsibilities, not categorization of objects into class hierarchies. Isaiah Perumalla

Entity Framework:Anti-Patterns To Avoid In N-Tier Applications

Danny Simmons explores some anti-patterns you should look out for when building n-tier applications with the Entity Framework. Daniel Simmons

Velocity:Build Better Data-Driven Apps With Distributed Caching

Microsoft Velocity exposes a unified, distributed memory cache for client application consumption. We show you how to add Velocity to your data-driven apps. Aaron Dunnington

Peer Fun:A Peer-To-Peer Work Processing App With WCF

We demonstrate creating a peer-to-peer processing platform where multiple players function together for a common purpose: getting your work done. Matt Neely

Inside Windows 7:Introducing Libraries

This is Part 1 of a multipart article series on Windows 7. This article is about the new user profile storage concept in Windows 7, called Libraries. Yochay Kiriaty

Code Download.Chm Files


Usability in Practice:Agile Ux Development

This month the authors show you how to treat the user experience as an essential dimension of the development process while retaining the advantages of Agile.Dr. Charles B. Kreitzberg and Ambrose Little

Editor's Note:Architecture and Aggregates

An aggregate is a term used heavily by practitioners of domain driven design (DDD) and is defined as "a cluster of associated objects that are treated as a unit for the purpose of data changes.Howard Dierking

Toolbox:Managing in the Cloud, UX Design Patterns, Anders Hejlsberg’s The C# Programming Language, and More

Now that you're even managing projects in the cloud, you'll need some tools to help. This month we illustrate one, discuss UX design patterns, a book by Anders Hejlsberg, and more.Scott Mitchell

CLR Inside Out:Memory Usage Auditing For .NET Applications

Memory usage can have a direct impact on how fast an application executes and thus is important to optimize. In this article we discuss the basics of memory optimization for .NET programs.Subramanian Ramaswamy and Vance Morrison

Data Points:Building An Out-of-Browser Client With Silverlight 3

Silverlight 2 applications are restricted to running inside a browser. However, Silverlight 3 applications can run inside the browser or out. Here we build a social networking app as a standalone Silverlight 3 application.John Papa

Cutting Edge:Go Beyond HTML Forms With AJAX

This month we examine forms in the context of AJAX applications and look at various approaches to implementing features such as auto-saving, just-in-time validation, and submission throttling.Dino Esposito

Patterns in Practice:The Unit Of Work Pattern And Persistence Ignorance

Jeremy Miller continues his discussion of persistence patterns by reviewing the Unit of Work design pattern and examining the issues around persistence ignorance.Jeremy Miller

Test Run:.NET Module Testing with IronPython

This month we demonstrate how easy it is to use IronPython to test .NET-based libraries.James McCaffrey

The Polyglot Programmer:Reaping The Benefits Of Cobra

Cobra, a descendant of Python, offers a combined dynamic and statically-typed programming model, built-in unit test facilities, scripting capabilities, and much more. Feel the power here.Ted Neward

Foundations:Customizing the New WPF Calendar Controls

Late last year Microsoft released Calendar and DatePicker controls for WPF in the WPF Toolkit. We’ll show you how they work, and how you can customize them.Charles Petzold

Concurrent Affairs:Solving The Dining Philosophers Problem With Asynchronous Agents

We use the new Asynchronous Agents Library in Visual C++ 2010 to solve the classic Dining Philosophers concurrency problem.Rick Molloy

Windows With C++:Introducing Direct2D

If you want to develop high-performance and high-quality commercial applications, you’ll still look to C++ and native code. Direct2D will help you deliver the graphics power you need.Kenny Kerr

{End Bracket}:Think Before You Speak

Steven M. List