แชร์ผ่าน


WPF Forms over Data Gets Easier in Visual Studio 2010

Today I was looking at comments on one of my WPF videos on how to create a Master-Detail form in WPF and I had to agree:

"I was looking into learning WPF - but jeez, what happened to RAD? It takes all this to create a simple Master/Detail form?"

(BTW, Sorry I couldn't respond on the site itself, I've been having problems with my site login.)

Designing WPF forms that work with data in Visual Studio 2008 is tedious (to say the least) -- you have to hook up all the data binding in XAML and code. It's not hard, it's just time consuming. (BTW, here's the link to all the WPF videos I've done on this topic so far.)

Well luckily Visual Studio 2010 will enable drag-drop data binding in WPF! Milind Lele, the Program Manager on this feature, blogged about it here and here. I'm heading to DevTeach on Monday and I just picked up another session, one on WPF data binding. I plan on showing this feature of VS 2010 at the end and I think it will be a big hit, especially to those who are building business applications in WPF today.

If you want to try it out (and have a few hours to spend downloading ;-)) then you can pick up a copy of the Visual Studio 2010 Community Tech Preview (CTP) which is distributed as a VPC. Otherwise come back here for more info on this, I'll be playing with it myself...  ;-)

Enjoy!

Comments

  • Anonymous
    November 25, 2008
    PingBack from http://blog.a-foton.ru/index.php/2008/11/26/wpf-forms-over-data-gets-easier-in-visual-studio-2010/

  • Anonymous
    November 26, 2008
    It is good to hear that. WPF is an amazing technology. I'm glad that Microsoft Developing team took binding data into consideration.

  • Anonymous
    November 26, 2008
    And speaking of RAD with WPF .... I just posted a new Channel 9 video with Milind Lele , Program Manager

  • Anonymous
    November 26, 2008
    And speaking of RAD with WPF .... I just posted a new Channel 9 video with Milind Lele , Program Manager

  • Anonymous
    November 26, 2008
    I just posted a new Channel 9 video with Milind Lele , Program Manager on the Visual Studio Pro Tools

  • Anonymous
    November 27, 2008
    it is good news, but working with data is , most of the time, working with text data. until wpf team is doing something with font rendering all that effort is useless ( i tried to work with wpf over data and i had to give up, for now ... the data is very hard to read with that blurry fonts )

  • Anonymous
    November 28, 2008
    The really interesting thing is that Microsoft Expression Blend has always had a pretty decent data binding experience within the designer.  It isn't quite drag-and-drop, but you can quite easily control the binding parameters from directly within the property grid.  I would like to see both and really hope that in an attempt to make data binding simple-stupid that you don't overshoot and end up with something simple for the most insanely basic data binding scenarios and nothing for anything with the slightest level of complexity. I really hope that the Visual Studio/Cider team take a page from the Blend team and enable complete data binding and resource binding support from directly in the property grid.  Even better, if both teams could work on a property grid that could be shared between the products that would be useful.  The WPF team and designer teams need to work on supporting a designer infrastructure that is also shared between Cider and Blend so that WPF controls developed by Microsoft (including those that come with WPF) and third parties can have real design-time support. WPF is an amazing framework but I seriously think Microsoft sells it short with a lackluster design time experience.  It doesn't help that WPF is overshadowed by Silverlight, where the design time experience, especially in Cider, is even worse.

  • Anonymous
    December 10, 2008
    Hi Halo_Four, Totally agree -- that's why they're working on bring RAD to WPF in VS 2010. WPF is the framework, now we need to tools to actually develop with it mainstream. Tools are always be behind the framework development. Thanks for the great feedback! Cheers, -B

  • Anonymous
    December 19, 2008
    The first episode in a series on VS 2010 was posted this week on Channel 9. The series is put on by some

  • Anonymous
    January 07, 2009
    I'm still catching up from holiday vacation so I just watched my dnrTV episode today that I filmed with

  • Anonymous
    January 07, 2009
    I'm still catching up from holiday vacation so I just watched my dnrTV episode today that I filmed

  • Anonymous
    January 18, 2009
    Reply to my email about my inabilty to link to a database in vb2008 express tks phil

  • Anonymous
    February 09, 2009
    I'm kinda lost as far as all this goes. Beth, I'd like to get some input from you - what with you being a professional in your field and all - on something. I'm still sitting with VS 2005. I don't have the 3GB to download a trial of VS 2008 or even the +/-750mb to download the ISO file of the express editions. I see that VS2010 is coming out soon too, so I'm roughly 5 years behind in my education. What I'm asking here is do you have any suggestions for me on ways I could catch up a little? -L

  • Anonymous
    August 26, 2014
    Hi Beth - will you be covering wpf mvvm?