WPF: One Small Step For UI; One Giant Leap Back For Data Binding?
I’ll admit it, I’m new to WPF. But have been spending the last week or so (when I have time) to go through Hands On Labs or any other tutorials I can find to get up to speed. And now that I’m done, I wanted to apply my new found knowledge and build something without a helping hand – something simple, WPF for display, using LINQ in the data access layer and SQL for the backend data store.
SQL and LINQ was the easy part. Business entities all setup, data access layer is work and then…
stopped. WPF – ugh! To be fair some of the issues aren’t specific to WPF.
- Expression Blend doesn’t play nicely with Visual Studio 2008 C# Projects
- Auto-complete for XAML files works sometimes – which is frustrating if you are trying to learn it
- Lack of online samples (or samples that are questionable in terms of code, i.e., not using a using statement when working with a database connection) that have full CRUD
But really, my biggest beef is with Visual Studio 2008. What I was really hoping for was ASP.NET 2.0 data-binding in WPF – little handles over a control, wizards to setup which binding source to be used, auto-generation of SQL commands, etc, etc, etc. Prototyping was dead easy and you could have a small data bound web application up in minutes. Sadly this is all missing – not only making the barrier to entry to WPF that much higher.
Might just have to break down and get a book…
And if you haven’t grabed the Visual Studio 2008 and .NET Framework 3.5 Training Kit yet:
Read more