patterns & practices Developer Center

On this page: Download:
Preface | Chapter 1 | Chapter 2 | Chapter 3 | Chapter 4 | Chapter 5 | Tales from the Trenches: Using Unity in a Windows Store app

Download code

Download PDF File

Order Paperback


The majority of the code samples in the chapters come from a collection of sample applications that you can download and play with.

Chapter 1

Enterprise Library

The Principles of OOD by Robert C Martin

Meyer, Bertrand. Object-Oriented Software Construction. Prentice Hall, 1988.

Chapter 2

Gamma, Erich, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley Professional, 1994.

“Using a Service Locator” in the article “Inversion of Control Containers and the Dependency Injection pattern” by Martin Fowler

Service Locator is an Anti-Pattern” by Mark Seeman

Common Service Locator library

Dependency Injection Without the Gymnastics” by Tony Morris

Chapter 3

Adding Unity to Your Application

Design Time Configuration

Encrypting Configuration Information Using Protected Configuration

Lazy<T> Class

Understanding Lifetime Managers

Moq mocking library (Moq is also available as a NuGet package)

Chapter 4

What is PostSharp?

Aspect-Oriented Programming, Interception and Unity 2.0” by Dino Esposito in MSDN magazine

Unity Interception Techniques

Chapter 5

Configuring a Container for Interception

Behaviors for Interception

Unity Interception Techniques

Stand-alone Unity Interception

Policy Injection Matching Rules

Creating Policy Injection Matching Rules

Tales from the Trenches: Using Unity in a Windows Store app

Developing a business app for the Windows Store using C#: AdventureWorks Shopper

Prism for the Windows Runtime reference

Prism StoreApps library

Prism PubSubEvents library

Previous Topic | Home | Community