Solved

Questions about a WPF program's architecture

Posted on 2011-02-11
3
404 Views
Last Modified: 2012-05-11
I am considering writing a Windows program that will be a learning tool for me for WPF.

I am a WinForms developer with years of experience with C#, OOP, OLE Database work, GUI design. Recently I have gone web with MVC2/MVC3, Razor, LINQ and Entity Framework 4.0. So I am staying current at work, except have not touched XAML.

I want to start a side home project making a Windows program that would use WPF and force me to learn XAML. I might even sell a copy or two, but that's not important to me. I want to use MS Access as the database since I would never want to support SQL Express installation.

I love Entity Framework 4.0 and LINQ, so that would be a requiremwent of my architecture.

What am I missing?  Where do I start?

I suppose I need to find a sample WPF progrtam that looks pretty good and make that my starting point.

Any advice?

newbieweb
0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 34878846
For me, the choice of a practical application for what ever you are trying to learn is a great first step.  I learn better by doing, than by reading.  If you are more familiar with ASP.NET or WinForms, then you are going to have fun getting your head around the world of WPF, since it is a huge paradigm shift from those technologies.

Food for thought:

1) Learn how the events are handled (routed events)

Events WPF
http://msdn.microsoft.com/en-us/library/ms753115.aspx

2) Learn about resources, since they provided a consolidated place for reusable elements

Resources Overview
http://msdn.microsoft.com/en-us/library/ms750613.aspx

3) Since you have experience with ASP.NET MVC, the MVVM (Model-View-ViewModel) pattern shouldn't be that much of a leap of faith.

WPF Apps With The Model-View-ViewModel Design Pattern
http://msdn.microsoft.com/en-us/magazine/dd419663.aspx

4) Look at the layout system, and understand the controls that are available (Canvas, StackPanel, Grid, DockPanel, etc).

Layout System
http://msdn.microsoft.com/en-us/library/ms745058.aspx
0
 

Author Closing Comment

by:newbieweb
ID: 34880576
Once again, thanks for the great help!
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34882458
Good luck, grasshopper, and my guess is that I will seeing more WPF questions coming down the pike!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question