A good example of using WPF, WCF, and Entity Framework together.

azure c# entity-framework wcf wpf


The new client/server application I'm intending to build will be data-driven and flexible enough to support WPF, Silverlight, and mobile clients. I already know a lot about WPF, but I still need to learn how to use the back end. Everything I've read suggests that I use WCF together with Entity Framework.

I haven't yet come across a practical example of these three technologies working together. I want to be able to quickly attach to database objects using WPF's databinding in a manner that minimizes the need of procedural code.

I had a look at the this example built on Prism, but it is unfinished, does nothing, and is just a glorified "Hello World!"

5/31/2012 12:38:29 AM

Accepted Answer

I did some research and this is what I discovered:

The Netflix Stuff App by Karl Shifflett (WPF, MVVM, Data Services)

IssueVision (Silverlight, MVVM, WCF RIA Services, Entity Data Model)

7/6/2016 3:03:03 PM

Popular Answer

Have you seen the walkthrough below that just uses WPF, WCF, and Entity Framework?


You will develop a WPF application with data-bound controls using this tour. Customers' records included in a WCF Data Service are tied to the controls. Additionally, you'll provide buttons that clients may utilize to view and modify records.

The following tasks are shown in this walkthrough:

  1. using information from the AdventureWorksLT sample database to construct an entity data model.
  2. establishing a WCF Data Service to provide a WPF application with access to the data in the Entity Data Model.
  3. Adding objects to the WPF designer by dragging them from the Data Sources pane to create a group of data-bound controls.
  4. Adding buttons to allow users to advance and return through client records.
  5. developing a button that sends updates to the WCF Data Service and the underlying data source for the controls' data.

Related Questions


Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow