Solved

Questions about a WPF program's architecture

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 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