Blog Home 
public interface IGrocholski - WPF

RSS 2.0 Atom 1.0 CDF  
 
Sign In
 
 Wednesday, June 06, 2007

Lately I've been into all things "Orcas" (i.e. LINQ, Acropolis, Astoria, Jasper, etc.) However, the one thing I haven't really delved into yet is WPF. Since it's getting all the buzz, I decided to dig in and see what it's about. Admittedly I haven't gotten all that far yet, I'm still looking at how the WPF application model differs from that of Win32, but I have been amazed at how easy it is do some things, particularly when it comes to 3D and animation. For example within 20 minutes approximately 50 lines of xaml I was able to take a label, project it into a 3D cube, and then rotate the cube on its vertical axis. The result is something that looks like this:

Of course, when the app runs it actually spins. To me, that's pretty mindblowing.

The source code is attached if you want to take a look at how simple this is. (Note: HelloWPF.sln was written with Visual Studio "Orcas", I'm not entirely sure if it will work on Visual Studio 2005 with the WPF extension installed).

ag

HelloWPF.zip (41.32 KB)
6/6/2007 5:56:04 AM (Central Standard Time, UTC-06:00)  #    Comments [1]   .NET Development | Orcas | WPF  |  Trackback
Copyright © 2008 RBA Consulting.