You can download the sample code described in this book from the Microsoft Download Center at

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

  • The Repository pattern is described in detail in "Patterns of Enterprise Application Architecture" website on Martin Fowler's website.
  • The article "The Repository Pattern" on MSDN describes an implementation of the Repository pattern by using SharePoint, but you can apply the general principles to almost any data store.
  • You can find more information about Windows Azure Service Bus on the "Messaging" page of the Windows Azure website.
  • The section "Introducing Event Sourcing" in the guide "CQRS Journey", available on the MSDN website contains detailed information about using the Event Sourcing pattern to record the history of the changes made to the data held by an application and using this information to generate a view of the system state.

Appendix A

© 2015 Microsoft