Implementing a simple and self-generated enterprise application. An alternative view...
Connect, Transform All T4 and READY! If you have problems, see the FAQ page.

 Architecture Diagram

 

NOTE
Entity Framework 5, .NET Framework 4.5, full automation: Contexts, units of work, mapper, resources, validations, dto's, entities, services, unity containers, repositories, unit tests, custom queries (tree expressions serializer, pagination) ...

STEPS
1. Enable Nuget restore to automatically downloading packages.
2. Connect the database from project "Infrastructure.Data.MainBoundedContext" EntityModel/Model.edmx.
3. Constructs automated structure architecture from VS2012->Build->Transform All T4 templates.
4. Optional:
 4.1. UnZip DatabaseResourcesT4.zip from project "Application.MainBoundedContext.Resx" and transform the T4. Copy data schema elements in the ApplicationResources.resx file and then delete ApplicationResources.MODIFY.resxcs. Uncomment DataAnnotations from project "Application.MainBoundedContext.Dtos" Dto.Model.tt and transform it.
 4.2. Move and/or Delete from "Application.MainBoundedContext.Dtos" DtoExtension.Model.COPYTO.tt to Extensions directory.
5. Remember, you must add the connection string to web.config ...

REFERENCE PROJECT
V2.0.03 BETA N-Layered SampleApp .NET 4.0-EF4.3.1
http://microsoftnlayerapp.codeplex.com/releases/view/69008



Last edited Apr 9 at 10:26 PM by GabrielGI, version 49