Solved

Questions about a WPF program's architecture

Posted on 2011-02-11
3
405 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

688 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