Domain Drive Design N-Layered .NET 4.0 Architecture Guide


We finally get the English version of our 'DDD N-Layered .NET 4.0 Architecture Guide’ book which follows Domain Driven Design Architectural style and trends.

You can download this free book in several formats like PDF, EPUB,  and MOBI from:

We also provide an end-to-end open source sample application where you can check every .NET code aspect:

We were working on it during 2010 and published the guide in Spanish in late 2010. It was awesome the excellent feedback we got and you can check it at our Codeplex site. We especially thank the Microsoft Entity Framework Product Group because they reviewed our guidance and gave us several improvements.


The goal of our guidance is to give our partners a .NET Base Architecture Guide that they can use as an outline for designing and implementing complex and mission critical enterprise .NET applications with long term life and long evolution. This book defines a clear path to design and implement business applications with a considerable volume of business logic. Following these guidelines you will get important benefits regarding quality, stability, and especially, an improvement of future maintenance of the application, due to the loose-coupling between components, homogeneity, and similarities of the different developments that will be done.

Technologies and Patterns

The guidance implements both typical DDD patterns  as Domain Entities, Repositories, Aggregates, Unit of Work, Value Object, Domain & Application Services, etc. and IoC/DI techniques, using the following technologies:

-Visual Studio 2010 y .NET 4.0, Entity Framework 4.0. Unity 2.0, WCF, Silverlight 4.0, WPF 4.0,  ASP.NET MVC 2 and 3,PEX & MOLES. Windows Server AppFabric Hosting & Cache (Optional). Windows Azure (Optional), SQL Server, SQL Azure (Optional)


Future steps

This guidance is a living Project so it will continue evolving the Guide and Sample App. Specifically we are already working on the following new features:

- EF 4.1 evolution (POCO Code-First Entities)

- Claims-based Security implementation on the sample application (The Guide already covers it)

- New Client technologies (Windows Phone 7, HTML5, etc.)

We hope this work might be useful for many organizations and we encourage you to provide feed-back and new ideas using our discussions-forum at Codeplex.

Miguel Angel Ramos

Application Development Manager

Comments (4)

  1. smnbss says:

    This is exactly the kind of architecture I'm implementing with my application.

    I would like to suggest another technology that fit perfectly on the MVC.NET client:

    It's becoming more and more popular to develop MVVC web applications in order to reuse webservices on RIA and "Web" layer

    nice post

  2. Thanks! Next steps are work with HTML5+JQuery+MVVM and CodeFirst. I will analize Knockout.

  3. Andres says:

    Where can I get the eBook? I can't find it on the msdn site…

  4. Enrique Ferreyra says:

    Hi, there is any new edition ?

    Anyway im complementing it with:

Skip to main content