?
Solved

Questions about a WPF program's architecture

Posted on 2011-02-11
3
Medium Priority
?
406 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 2000 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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

800 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