In these series of articles I will show you how to build an enterprise application using the most recent Microsofts technologies like: WPF with PRISM for the UI, Entity Framework for the Data Layer and WCF for the persistence service.
We will build a 3 tiers application that will spread the responsibility through 3 different machines (virtually because the Visual Studio solution is only one).
- SQL Server
It will contain the database and the database objects
- IIS 7
Data access layer with Entity Framework
WCF host service for the persistence
WCF host service for the security access
- PRISM (Composite WPF application)
This layer will use the PRISM pattern to render a WPF modular application
This is the schema of our tiers:
Prerequisites and Source code.
As I did for my previous series of post about MVVM and WPF, I will share a CodePlex project for anyone of you that want to reuse the project for professional or testing purposes, I will use the Adventure works database available in the CodePlex web site and I will use the PRISM pattern.
- Visual Studio 2008 with SP1 available for trial on Microsoft web site.
- NET 3.5 SP1 available on MSDN.
- SQL Server 2008 Express Edition.
As we are going to use some very well known patterns and methodologies, like: Factory pattern, Inversion of Control, POCO objects, Test Driven Development; I suggest to anyone of you to have a look at:
- Martin Fowler articles and patterns.
- Gang of Four NET patterns.
- Composite UI Application for Silverlight and WPF.
- At least, basic knowledge of XAML syntax and how WPF works.
Those are part of the patterns and methodologies we will use. It is not mandatory to know them but if you have at least a look, it will be easier to follow the next articles.
For today its enough, be ready with your PC and from the next article we will start to build the database and the Data access layer.