Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Creating Desktop Apps with UWP (Show IT, Bratislava 2017)

Creating Desktop Apps with UWP (Show IT, Bratislava 2017)

How to best support both WPF and UWP, and move from WPF to UWP

Christian Nagel

February 07, 2017
Tweet

More Decks by Christian Nagel

Other Decks in Programming

Transcript

  1. Goals • When & how to use UWP for Data-Driven

    Business Applications • Moving from WPF to UWP • Introducing important concepts for UWP
  2. Non-Goals • A complete application • UI Styles • Desktop

    Bridge for UWP • No Crashes (using Visual Studio 2017 RC)
  3. Christian Nagel • Training • Coaching • Consulting • Microsoft

    MVP • thinktecture • www.cninnovation.com
  4. No

  5. Why not always WPF? • Use New Features • Modern

    Styling and APIs • Different Devices • Windows 10 uses UWP • Performance
  6. Windows 7 Users • WPF is necessary • Desktop Bridge

    to add UWP Features for Win10 Users • Write the UI multiple times • Just the UI
  7. Libraries • .NET Libraries only for WPF/.NET Framework • .NET

    Core Libraries only for .NET Core • Portable Libraries for … • .NET Standard makes sharing easier
  8. What you’ve seen • Portable Libraries • MVVM removes strong

    dependencies • DI Container makes DI easy
  9. What you’ve seen • AppBar • Compiled Binding • Enhanced

    TextBox • SplitView • RelativePanel • Adaptive Trigger
  10. Summary • Use MVVM and DI with XAML • Portable

    / .NET Standard Library • XAML Features
  11. Images Copyright • Decision Time © Steve Woods • Yeah

    © Redbaron • Sulky angry child © Godfer • Diversity workers © Vladimir Mucibabic • Injection © Maybe123 • Spousal Abuse Humor © Ken Hurst • Communication © Fantasista • Pilots in the plane © Nikolai Sorokin • Bratislava © Tomas1111 • http://www.dreamstime.com