Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

WinForms vs WPF

Options
  • 03-12-2013 8:37pm
    #1
    Closed Accounts Posts: 1,155 ✭✭✭


    Hi all,

    Just wondering if many .NET devs use WPF?

    I have read about some of the benefits online, but they don't seem to make me want to put in the time to learn xaml.

    Is WinForms now seen as outdated tech?


Comments

  • Registered Users Posts: 2,021 ✭✭✭ChRoMe


    Hi all,

    Just wondering if many .NET devs use WPF?

    I have read about some of the benefits online, but they don't seem to make me want to put in the time to learn xaml.

    Is WinForms now seen as outdated tech?

    I'm not even a .NET dev and I can tell you that winforms is outdated.


  • Closed Accounts Posts: 1,155 ✭✭✭Stainless_Steel


    ChRoMe wrote: »
    I'm not even a .NET dev and I can tell you that winforms is outdated.

    I know but I see many applications still being created with WinForms. Granted these are business applications and focus more on functionality rather than aesthetics.


  • Registered Users Posts: 221 ✭✭Elfman


    My company is in the middle of resigning our application in WPF and it's definitely the way to go for .net desktop Apps. It gives a massive amount of flexibility so there's no excuse to have battleship gray standard windows. It an attempt by MS to give desktop designers the freedom of web devs. It's also got some massive benefits in terms of data binding .

    There is quite a learning curve especially if you want to learn the MVVM design pattern that allows you to keep UI layer seperate.


  • Registered Users Posts: 2,015 ✭✭✭Colonel Panic


    WinForms isn't outdated, it's just stable and mature. There's nowhere to go with it. It basically boils down to a pretty thin wrapper over Win32 with some attempts at layout and data binding and nice features like being able to make composite controls.

    WPF is a different beast entirely and it's hard to see where MS is going with it. On one hand, XAML is now the defacto layout method for "modern" Windows apps and WinPhone, but on the other hand, WPF hasn't seen much movement or changes in the past few years either.

    Does that make it outdated? I dunno...


  • Registered Users Posts: 7,157 ✭✭✭srsly78


    You don't even need to use XAML. You can do it all from code, which actually helps a bit while learning. To use the visual designer and lay stuff out properly you will want xaml of course tho.


  • Advertisement
  • Registered Users Posts: 2,021 ✭✭✭ChRoMe


    WinForms isn't outdated, it's just stable and mature. There's nowhere to go with it. It basically boils down to a pretty thin wrapper over Win32 with some attempts at layout and data binding and nice features like being able to make composite controls.

    WPF is a different beast entirely and it's hard to see where MS is going with it. On one hand, XAML is now the defacto layout method for "modern" Windows apps and WinPhone, but on the other hand, WPF hasn't seen much movement or changes in the past few years either.

    Does that make it outdated? I dunno...

    When Microsoft are doing their silently deprecating act, like they do with so many projects, its can be considered outdated.

    They don't cover it in their conferences anymore, thats usually the first sign.


  • Registered Users Posts: 2,015 ✭✭✭Colonel Panic


    Nah, it's not the same thing as what they've done with Silverlight or XNA. Given that logic, WPF is outdated too.


  • Registered Users Posts: 2,021 ✭✭✭ChRoMe


    Nah, it's not the same thing as what they've done with Silverlight or XNA. Given that logic, WPF is outdated too.

    WPF being considered outdated by microsoft is a reasonable argument to make as well, considering the the Windows 8 shift.


  • Registered Users Posts: 2,015 ✭✭✭Colonel Panic


    Let's take it a step further. The Windows desktop is dead. OP should make "modern" UI apps. Luckily they use XAML and something that reminds me of WPF.

    I still maintain that there's a difference between mature and dead end frameworks.

    Taking XNA as an example. It sit on top of Direct X 9 which is no longer being developed. It was not updated to support Direct X 10+ and will never be.

    The Win32 API hasn't changed in years. XAML, originally made for WPF has a serious overhaul with Windows 8 so that Modern (née Metro) apps could use it. The WPF framework doesn't need to change. There are plenty of 3rd party frameworks out there to enhance it too.

    And that doesn't even take into account that WinForms isn't going anywhere and the OP's post is short on info. If you're going to learn a framework, I'd learn both. If you're going to start a new project, it really depends on your needs.


Advertisement