No I don't think you understand me. I'm not saying WPF runs on Windows 8 (which it does on non-RT systems), I'm saying if you have a significant investment in WPF then that investment isn't lost because the development environment, methodologies, and tools are the same ones you'll using to develop Windows Runtime apps. The composition of which is very much like what you'd find on Silverlight or Windows Phone. If you're leveraging MVVM at all via Caliburn Micro or MVVM Light, those tools are already or soon coming to the Windows Runtime. We have been able to rapidly move our view models from Caliburn Micro desktop apps to Metro apps and it's been an amazing experience in comparison to some the other feature shifts in the .Net world (which I think is the crux of your Winforms example). We also heavily leverage Autofac in our environment, and it has been built as a portable class library for some time now, enabling us to simple tweak (not rewrite) our code and it again has been a top notch experience. Summing up my rant: WPF isn't going anywhere with the shift to the Windows Runtime, it's just changed slightly. (and did I mention that the desktop isn't going anywhere either :)
Nick Daniels
Posts
-
Is Windows 8 too radical for you? -
Is Windows 8 too radical for you?You can absolutely write WPF/C#/.Net apps, in fact the Windows Runtime (henceforth WinRT) is just a COM based wrapper around exiting APIs already present in Win32 and the .Net framework and apps can be made in C# or C++ with UIs built in XAML (also in HTML/JS). There is also a set of APIs that are "whitelisted" that are present in the Win32 APIs but are not present in WinRT, that can still be included in store apps and work on Windows RT systems. So your investment in WPF didn't get obsoleted, it just went multiprocessor.
-
What exactly doesn't work?I'll give you my no BS, been using it since it was released to MSDN full time, reasons why I switched to Windows 8 and am not looking back: (in no particular order) 1) I like the new start screen. I can pin what I want and exclude what I don't. But anything I don't want to see all the time is just a few search keystrokes away. And custom grouping is nice too. And those live tiles are handy as hell. 2) I can use Desktop apps and Windows 8 UI apps (I like the freedom to choose) 3) Hyper-V ready and waiting is a huge plus for me. 4) I have gained an extra 30 minutes of battery life. (That is a big deal to me) 5) The Charms menu at first was a little weird, but once I got the hang of when to use it and why, it's a massive time saver. 6) The ability to reinstall quickly without loosing data sounds great on paper, but since I actually had to use it on day 2 I can tell you it's a far better feature in reality than it sounds. 7) I use Zune Pass and have an XBOX, the integration there is really nice. (Granted the music app could be less focused on Zune (Xbox) music and a little more focused on my personal collection but that's me nit picking) 8) The new desktop look is great, but I always thought Aero Glass was just a way to waste CPU cycles with out any real gain. 9) The improved Explorer eliminates the menu bloat it had in older versions. In 7 unhiding the extensions of known file types first requires you to a) know hitting alt will reveal the menu. b) then opening a dialog, changing tabs, and scrolling down and then unchecking the box. In 8, 1 click on a check box in the View tab on the ribbon. How about sharing, in 7 it's mostly context menu stuff. In 8 whether I want to email, burn, print or network share it's all on the Share tab. 10) The improved Task Manager not only looks pretty, but has startup apps and services management baked in as well. All in one place. 11) Shadow copy has gotten a massive boot in the ass. I have felt it was a neglected feature in Windows for a few versions now. Now it's very much available and much easier to use effectively. (now it's called File Versions) So there you go, there are 11 reasons I love Windows 8 (off the top of my head, I am sure I can come up with some more)