MVVM: Tutorial from start to finish?

2018-12-31 00:50发布

I'm a C#/Windows Forms programmer with more than 5 years experience. I've been investigating WPF using the MVVM (Model-View-ViewModel) design pattern. I have searched the Internet for tutorials. I have even watched the entirety of Jason Dolinger's awesome video. Although I have found many, I have not found one that takes me from start to finish. What I really want is a tutorial that doesn't assume any previous WPF knowledge.

What are your favorite WPF-MVVM tutorials that helped you to learn?

标签: c# .net wpf mvvm
22条回答
时光乱了年华
2楼-- · 2018-12-31 01:12

I was in exactly the same situation recently, mate, and I can tell you what I did.

Josh Smith "WPF Apps With The Model-View-ViewModel Design Pattern" read again, again and again :-) download the code, examine, compile and keep it around

MVVM foundation

  1. Examine the framework, use it in your app.
  2. Look at the Demo application in that framework.

No real start-to-finish tutorials, sorry...

查看更多
孤独寂梦人
3楼-- · 2018-12-31 01:12

Don't skip John Papa's presentation from PDC Conference 2010. See it here.

查看更多
谁念西风独自凉
4楼-- · 2018-12-31 01:14

I have written an application using WPF, Prism and MVVM to simulate hiring a cab, you can read about it on my blog, download the source here and play with it.

查看更多
孤独总比滥情好
5楼-- · 2018-12-31 01:15

My blog has a complete series of tutorial starting from scratch for WPF MVVM and WPF Prism. Have a look here: http://blog.raffaeu.com/archive/2009/06/03/wpf-and-vmmv-tutorial-01-introduction.aspx

查看更多
有味是清欢
6楼-- · 2018-12-31 01:19

Here is a very good tutorial for MVVM beginners; http://geekswithblogs.net/mbcrump/archive/2010/06/27/getting-started-with-mvvm-general-infolinks.aspx [Getting started with MVVM (General Info+Links)]

查看更多
余生请多指教
7楼-- · 2018-12-31 01:20

For something released a little more recently (last month), take a look at Rainer Stropek's video series MVVM in WPF and Silverlight

He flies right through it, but does an extremely good job of going from start to finish with an actual application.

查看更多
登录 后发表回答