Over the next week or so, I want to put a bit of context behind some of the announcements from PDC, particularly the ones that got glossed over amidst the excitement over Windows 7 and Windows Azure. I’m going to start with highlighting some of the work we’ve done around WPF over the last couple of months.
Silverlight and WPF: Avoiding the Tyranny of “Or”…
We talked a lot at the PDC about how we’re continuing to make a very heavy bet on WPF as a platform. Hopefully folk spotted the significance of Scott Guthrie (usually known as the “web guy” and one of the fathers of ASP.NET) spending such a large percentage of his time talking about WPF. We’ve got a big team working hard at new investments in our flagship platform for building Windows applications, and the broad take-up we’re seeing from customers like Autodesk, Roxio, HP, Lenovo, AMD and others is representative of the ongoing momentum behind WPF.
An example of our own investment is in the controls space. At PDC we finally released WPF DataGrid, DatePicker and Calendar controls, all with both binaries and source code available under a permissive license. We’ve also shipped the first CTP of a ribbon control that mirrors the Windows 7 look and feel. (Of course there are some great third-party controls out there that add many valuable data views on top of a basic grid interface, like this one from Xceed). We span up a team a few months back that is focusing on building out controls, so you can expect to see many more interesting visualizations for both WPF and Silverlight over the coming months.
One leadership book that often does the rounds at Microsoft is Good to Great, by Jim Collins – it’s a personal favorite of Steve Ballmer’s, which might explain its popularity. It has one really impactful chapter called “The Tyrrany of ‘Or’”, which describes the false premise that one thing must always come at the cost of another. Silverlight and WPF are a great example of us not unnecessarily putting all the chips on one side of the table. We see a place for both rich internet applications and powerful Windows applications that can take full advantage of the underlying system. Both Windows and the web have their value – it needn’t be an “either/or” proposition.
At the PDC, this was best exemplified by a customer demo from Tesco, the world’s largest online grocery retailer and a major retail force in the UK and abroad. Nick Lansley, who heads up new technology developments there, gave a great demo of how Tesco are supplementing their existing ASP.NET-based website with a WPF-based “companion” application that is always available for quick purchases. Nick writes at length about the application, which is scheduled to go live in beta form early next year, on his blog.
Visual Studio 2010
As many folk will know, we announced at PDC that the new Visual Studio 2010 shell is being written in WPF. This applies both to the visual “chrome” and the code editor. I saw a demo of the new editor just before PDC, and it’s looking really strong. We’ll share more information at the upcoming TechEd EMEA and DevConnections events, but for now, here’s a screenshot:
.NET 4 also adds many new WPF features. We’ve not announced everything yet, but you’ll at least see intrinsic support for multi-touch, Deep Zoom and Visual State Manager (the last of which is already available in preview form), along with much requested improvements to text rendering.
Hotfix for VS 2008 SP1 WPF Designer
I wanted to close by publicizing a brand new servicing update “hotfix” for the WPF designer in Visual Studio 2008 SP1, since it’s the kind of thing that gets missed. You’ll want to apply this one – although there are no new “features”, it fixes a few edge case scenarios. Here’s a short list of the issues fixed:
Happy WPF coding!
Here's a great post by Tim Sneath that talks about new features in WPF and VS-shell. : http://blogs.msdn.com/tims/archive/2008/11/03/wpf-developers-pdc-wrap-up-and-visual-studio-tooling-update.asp
The text rendering in apps created using .Net4 / VS 2010 still looks as bad as in .Net 3.5 / VS 2008. We are not allowed to move to WPF until this is as good as WinForms. Surely compromises can be made to make smaller font sizes look good? This seems to be the single reason why people are not moving onto WPF - you can't make apps look as good as WinForms at the moment. People want crisp clear text. For a product that is geared towards the 'user experience' it is such a shame that the whole of WPF is marred by such basic issues of text looking bad.
I was a bit disappointed by the WPF Futures talk at the PDC. It shoed some good DirectX integration, but it was short on specifics about what the team was thinking about. We were teased with a long list of improvements, but we never got to see it so that we couldn't chose priorities.
What's the best way to suggest and vote on new controls and features?
WPF Apps Carlos Quintero: Visual Studio 2010 PDC session: customizing and extending your developing environment
I have a quick question... Here you show a screen shot of the new "wpf" based VS 2010... When will we be able to download it? I have the VS 2010 CTP2 but it still uses the old VS 2008 type editor?
I hope you are adding the controls of the VS shell to the framework rather than writing your own controls.
I also see a major problem with a WPF shell, performance and hardware. I doubt that many developers have anything but a crappy onboard graphic chip with some shared memory.
I'm not even sure the WPF shell will actually ship. Probably it will find the same end as the Yahoo! Messenger.
Too bad that WPF is not a fast native framework with a managed wrapper on top of it.
Not really. Look at XNA. Its pretty fast even with advanced graphics.
I know and I agree Aero dosent show WPF from best side, but in next version that hopefully will be fixed.
The what im missing there is lack of Ribbon UI and stick with old concept.
Am I the only one who is still completely underwhelmed by WPF? I work for a large financial insitution and have been a huge supporter of .NET since the NGWS days and here for the first time I am wondering what you were thinking. I have yet to see a single professional looking application written using WPF. By this I mean something that looks as good as say Excel 2007.
I see a mountain of coloured buttons, spinning 3D shader effects and obligatory zoom sliders on every app. It feels like the early days of HTML again, we may yet even see WPF apps with spinning under construction logos on them?
Text rendering quality...here we are V3.5 SP1 and the text STILL looks awful compared to Windows Forms. I mean WTF! How can I sell this to my management when our existing applications have better readability.
A number of us have recently been doing some OSX development using XCode and I dont want to turn this into a Mac vs. PC debate but take a look at the visual quality of the controls on Mac's within Interface Designer, they are stunning. Not only that, they are consistent.
WPF has given developers enough rope to hang themselves, show us the 'right' look and feel for our application please before it is too late!