October 15
尝试了一把SkyDrive,上传2本WPF 相关的书籍。有兴趣的可以看看。
October 09
WPF是.net 3.0中的一部分,主要用来开发桌面程序,可以理解为.net 2.0中的WinForm的下一代版本。
由于目前在做的项目主要采用WPF来开发,在入职之后,就开发学了。回顾半年多的经历,深深地被WPF的灵活性所折服。特开一个类别,专门讲WPF的一些学习心得。
附上一篇自己写的 Getting start with WPF.
A. WPF Books
There are a few books about WPF. And we recommend two of these books:
Adam Nathan- Windows Presentation Foundation Unleashed
Charles Petzold- Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation
There is another book which is very helpful if you want to understand the design principles and best practices of WPF. It is written by Chris Anderson who was the lead architect of the WPF team from 2002 until recently.
Chris Anderson- Essential Windows Presentation Foundation
Some other books:
XAML in a Nutshell--published at March 2006. It was before the .NET 3.0 and WPF released.
So this book is a little old and the namespace in this book is not right.
Programming Windows Presentation Foundation
--published at September 2005!
B. WPF Document
1 The most important document of WPF is the Windows SDK Documentation.
In the installation, make sure you have selected the .NET 3.0.
We recommend you to read this article -Introduction to Windows Presentation Foundation
(ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/582a314e-e23d-4144-b45b-acbbd5579252.htm). In this article, you will find many overview links about the technologies, such as Data Binding Overview, Routed Events Overview, and Animation Overview and so on.
Also there are many demos in SDK. It is best way to learn WPF by reading the sample code.
C. WPF Blogs
There are some blogs about WPF. You can add them in outlook in the RSS Feeds.
And when you have time, you can read it.
You can find some blogs at http://blogs.msdn.com/tims/articles/475132.aspx
D. WPF Tools
1 Expression Blend
Expression Blend is a professional design tool to create compelling user experiences and applications for Windows using the new .NET Framework 3.0 (which includes the Windows Presentation Foundation).
2 XAMLPad
XAMLPad assists in the design phase of a project's User Interface. XAMLPad renders XAML output in real time, dynamically updating as new elements are added or property values are changed. XAML validation is performed on the fly, and erroneous markup is reported to the user. The tool is particularly helpful in determining optimal application layout and placement of controls.It is useful for us to debug xaml. After you install Windows SDK, you can find it in the tool menu item.
3 XAML Cruncher
It is like XAMLPad. But it has many enhancements.
Install it by click http://www.charlespetzold.com/wpf/XamlCruncher/XamlCruncher.application
4 XamlT
You can install it via http://xamlt.com/
XamlT is an easy to install tool which will help Silverlight 1.0, Silverlight 1.1, Workflow Foundation (WF) and WPF users who are trying to understand the Xaml Vocabularies that are available. The primary view is to look at the type hierarchy and the content model, properties (normal and attachable) defined on each type (click on image for a marked up example of viewing the Panel classes in WPF):
The type representations are like navigable hyperlinks and it all runs in an IE like Shell with support for ctrl-click (new tab), shift-click (new window) and just normal click.
Once you find a type you like, click on the SDK button in the partially transparent toolbar in the top right of the type display and it will switch over to an integrated MSDN viewer.
It also contains a tool that can convert from Xaml to C#.
5 Snoop
It is a utility that simplifies visual debugging of WPF applications at runtime.
Features include a Tree View of an application's visual tree, selected element property list, event tracking, previewing, and zooming.
E. WPF Project
There are many open source project hosted at http://www.codeplex.com/, including some WPF projects (http://www.codeplex.com/Project/ProjectDirectory.aspx?TagName=WPF ). If you have time, you can read the source code to check how others develop software using WPF.
I recommend one project called PaperBoy. It is a WPF RSS Reader. You can find source at
http://www.codeplex.com/paperboy