Build enterprise application with WPF, WCF, Entity Framework and Prism. Tutorial 01. | Raffaeu’s blog

In these series of articles I will show you how to build an enterprise application using the most recent Microsoft’s 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).

  1. SQL Server
    It will contain the database and the database objects
  2. IIS 7
    Data access layer with Entity Framework
    WCF host service for the persistence
    WCF host service for the security access
  3. 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.


  1. Visual Studio 2008 with SP1 available for trial on Microsoft web site.
  2. NET 3.5 SP1 available on MSDN.
  3. 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:

  1. Martin Fowler articles and patterns.
  2. Gang of Four NET patterns.
  3. Composite UI Application for Silverlight and WPF.
  4. 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 it’s enough, be ready with your PC and from the next article we will start to build the database and the Data access layer.

Tags: WPF PRISM Entity Framework WCF

Comments are closed.

Post Navigation

? Previous Post
Next Post ?

Leave a comment

Your email address will not be published. Required fields are marked *