V2.0.03 BETA N-Layered SampleApp .NET 4.0-EF4.3.1

Rating:        Based on 34 ratings
Reviewed:  30 reviews
Downloads: 47006
Change Set: 68649
Released: Mar 28, 2012
Updated: May 15, 2012 by cesardl
Dev status: Beta Help Icon

Recommended Download

Source Code V2.0.03 (BETA) - N-Layer DDD SampleApp NET4.0 EF4.3.1
source code, 2004K, uploaded Mar 28, 2012 - 28560 downloads

Other Available Downloads

Documentation V2.0 GUIDANCE DRAFT-CHAPTERS
documentation, 14090K, uploaded Jul 18, 2011 - 16811 downloads
Source Code V2.0.02 (ALPHA) - Windows Azure Deployment - N-Layer DDD SampleApp
source code, 14227K, uploaded Jul 18, 2011 - 1259 downloads
Documentation V2.0.03 Migrating Solution to Windows Azure
documentation, 3637K, uploaded May 15, 2012 - 376 downloads

Release Notes

V2.0.03 - BETA

Required Software (Microsoft Base Software needed for Development environment)

  • Visual Studio 2010 RTM & .NET 4.0 RTM (Final Versions)
  • Expression Blend 4
  • SQL Server 2012 or 2008R2 Express/Standard/Enterprise
  • Silverlight 5 Tools for Visual Studio 2010 SP1
http://www.microsoft.com/download/en/details.aspx?id=28358
  • Entity Framework 4.3.1
You will get it automatically using NuGet. Standalone setup is also possible.
  • Unity Application Block 2.1
You will get it automatically using NuGet.
Standalone setup is also posible:
http://www.microsoft.com/download/en/details.aspx?id=17866
  • AutoMapper
You will get it automatically using NuGet.
  • PEX & MOLES 0.94.51023.0 Power Tools (x64) - (English)
http://research.microsoft.com/en-us/projects/pex/downloads.aspx#PexMSDN
  • Windows Azure SDK (Only for the Windows Azure solution .ZIP download)
http://www.microsoft.com/windowsazure/sdk/

How To Setup this project in VS.2010:

After installing ALL pre-required software, do the following steps
- Run all the Solution's tests. A Test-Database will be automatically created (using EF Migrations), it will be called 'NLayerAppV2.Tests' database
- Select the SL4.0 project as 'Default project' for debugging.
- Run the App. A Database with demos data will be automatically created (using EF Migrations), it will be called 'NLayerAppV2' database.

Reviews for this release

     
Excellent architecture information!
by smtp123 on Mar 15 at 11:20 PM
     
It is simply overengineered. For a complete review please see: http://lutzit-consulting.ch/2013/01/erfahrungsbericht-domain-oriented-n-layered-von-microsoft-spain/
by BenjaminLutz on Jan 21 at 9:39 AM
     
is the reference book and sample every .net developer
by emiliogg84 on May 21, 2012 at 10:10 PM
     
Great work! Best regards Kaj
by kwikman on Mar 29, 2012 at 5:21 AM
     
Excellent !! Keep it up!
by alaa_m on Dec 8, 2011 at 12:47 AM
     
Excellent Work! What I have been looking far all these days for a concrete sample .NET application for DDD. Extremely well written and this must serve as base for Microsoft as well when they release product, they must ensure such concrete sample application + documentation. The design concepts were well explained which was the highlight of this sample.
by s_sivasankaran on Nov 23, 2011 at 12:11 PM
     
About 3/4 of the code I've found so far is boilerplate for EF, and most of that boilerplate was hand-created nonsense that the framework already gives you. A DbSet *is* a repository. A DbContext *is* a unit of work. Wrapping either for simple queries is a colossal waste of effort. Similar wastes have gone in everywhere else that I've seen so far.
by kavika13 on Nov 13, 2011 at 1:20 PM
     
Awesome work. Very well detailed and explained. This should be included as a Visual Studio template for new projects (N-Layered Application)
by brunobertechini on Oct 25, 2011 at 11:06 PM
     
This is a really excellent piece of work and the chapters are first rate - well written and packed with useful practical information. I cannot recommend highly enough.
by paul07481 on Aug 2, 2011 at 8:36 PM
     
skalin, man,how easy it is to talk without making the effort to read the code. Where is a lot of copy-pasted, where is overdesigned... please READ THE V2 CODE!
by JhonRed on Jul 27, 2011 at 8:11 AM
     
This is the first end-to-end sample I have found that walks the user through a .NET4-based DDD implementation, providing a working example of many of the key patterns. The guide is excellent. The suggested improvements from Ayende and others have been applied to the V2 code base and guide. V2 is shaping up as a wonderful resource.I look forward to V2 RTM and hopefully a V3 including Workflow.
by Darrenja on Jul 27, 2011 at 3:05 AM
     
Frankly, I have very rarely seen such a poorly overdesigned project - and there was absolutely no reason for doing so, this project being an "example" is not an excuse. If anything, this should be an example of how not to write software... Coding style is pretty bad as well, lots of copy-pasted code in exception handlers etc. Yikes, I don't want to spend another minute looking at it!
by skalkin on Jul 27, 2011 at 2:22 AM
     
Great work! I used the previous version and I found a fantastic guide. This alpha version I think is better than actual version and includes interesting things like code-First.
by davidmil02 on Jul 26, 2011 at 2:05 PM
     
Total overkill. here's another sensible response in addition to ayendes: http://wekeroad.com/post/7102729511/a-simple-example-thats-incredibly-complex
by erinn on Jul 26, 2011 at 4:41 AM
     
I started with V1 and while it is was good, V2 is great. It is the first decent project that I have seen that has exposes us to a wide array of patterns and technologies. Keep up the good work! *hint* would love to see more of version 2 soon!
by rclanan on Jul 22, 2011 at 9:18 PM
     
Excellent guide for anyone wishing to acquire new knowledge concerning software development techniques. I recommend reading the guide v.0.2 draft and the latest version of the sample project. Thanks for your great work!!!
by santo_pendorcho on Jul 22, 2011 at 8:43 PM
     
Excelent work, five start when MVC draft.
by deepjeep21 on Jul 21, 2011 at 3:13 PM
     
Don't use please! Totally agree with http://ayende.com/blog/35841/review-microsoft-n-layer-app-sample-part-xndash-architecture-for-the-space-age?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+AyendeRahien+%28Ayende+%40+Rahien%29&utm_content=Google+Reader
by regisbsb on Jul 21, 2011 at 1:14 PM
     
A serious word of warning: This guidance has been reviewed by a guru of the real world who found many serious flaws. http://ayende.com/blog/35841/review-microsoft-n-layer-app-sample-part-xndash-architecture-for-the-space-age?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+AyendeRahien+%28Ayende+%40+Rahien%29&utm_content=Google+Reader
by alexbusteed on Jul 21, 2011 at 12:11 PM
     
This project is very good as guidance of what not to do when you develop software.
by vandalo on Jul 21, 2011 at 9:02 AM
     
Antoine de Saint-Exupery would be rolling in his grave
by robfe on Jul 21, 2011 at 8:17 AM
     
Excellent architecture guide and sample for explaining DDD and the related software patterns! This is definitely the way to go for complex applications requiring maintainability and clear separation of concerns.
by tojo_gd72 on Jul 17, 2011 at 9:29 AM
     
I like the work you've done with Entity Framework 4.1 Code First approach, implementing patterns like Domain Entity, ValueObject, Repository, and some other patterns. Good job and keep going!
by davidmill on Jul 13, 2011 at 8:45 PM
     
Thanks for this project, awesome
by frankling on Jul 13, 2011 at 6:04 PM
     
I noticed several 5-star reviews; if you'd like a more critical and detailed review of this project from a programmer who's generally well respected in the .NET community, Ayende has a several-part review of this project. The first one is here: http://ayende.com/blog/19457/review-microsoft-n-layer-app-sample-part-i I've selected my star review based on the general tenor of the articles.
by pettys on Jul 13, 2011 at 2:02 PM
     
It's awesome. I like it.
by basicfuels on Jul 11, 2011 at 2:37 PM
     
Great Work!Go
by draco on Jul 8, 2011 at 2:56 AM
     
fantastic work!!! Its amazing to see all the new technologies utilized in a single project with all the right patterns. Highly recommend it to everyone wanting to learn EF, repository,unit of work and specification pattern!
by zeeshanjhirani on Jul 3, 2011 at 2:21 AM
     
Great work! Trendy technologies in a professional architecture ready to the real world. If someone is looking for a good guide for their DDD product line, this is their project.
by rubenmarrufo on Jun 29, 2011 at 12:14 PM
     
v1.0 is an awesome work. I've read some of this alpha release and I think that is better than previous. You are in continuous improvement, doing things easier to the comunity. Thank you very much!!
by kash1977 on Jun 29, 2011 at 11:36 AM