GirishK
GirishK

Reputation: 1963

How to use 3 tier architecture using WPF forms?

I am just starting with a new project. I have some forms which stores data and some reports. I have decided to use WPF for the purpose. I am new to WPF, so needs help. I need some sample application of WPF which stores the data in database using 3 tier architecture.

I need guidance on following points:

  1. How to use 3 tier architecture using WPF?
  2. Do i need to use WCF alongwith WPF? Advantages and disadvantages??

Upvotes: 0

Views: 3007

Answers (2)

Grigory
Grigory

Reputation: 1922

Looks like that you are talking about enterprise application architecture which contains 3 tiers (UI, BL, DB)

And WPF is a UI (frontend) technology.

So if you want to make some nice application, for UI you can choose WPF, for server communication(if you need it) use WCF services and DA layer should be at server side.

Possibly if your application is highly dependend on server, you can choose silverlight, or event ASP.NET application(there are many nice report controls).

Upvotes: 2

svick
svick

Reputation: 244757

The usual way to do something like 3-tier architecture in WPF is called Model-View-ViewModel, you should check that out.

You don't need to use WCF with WPF. I think that unless the benefits of having application tier on a different computer are significant, you should keep it on the same computer and use it as a library directly from your presentation code.

Upvotes: 2

Related Questions