Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Business Apps with the Universal Windows Platform

20 views

Published on

Using the Universal Windows Platform to create business apps, using the desktop bridge to extend WPF with UWP features, share code between WPF, UWP, and Xamarin - source code: https://github.com/CNinnovation/ShowIT2018

Published in: Software
  • Be the first to comment

  • Be the first to like this

Business Apps with the Universal Windows Platform

  1. 1. Business Apps with the Universal Windows Platform Christian Nagel @christiannagel
  2. 2. Goals ▪ When & how to use UWP for Data-Driven Business Applications ▪ Moving from WPF to UWP ▪ Introducing important concepts for UWP
  3. 3. Agenda WPF and UWP Sharing Code UWP XAML Features
  4. 4. Christian Nagel ▪ Training ▪ Coaching ▪ Consulting ▪ Microsoft MVP ▪ www.cninnovation.com
  5. 5. WPF AND UWP? 1
  6. 6. All your users upgraded to Windows 10!
  7. 7. Rewriting my desktop application takes years 
  8. 8. Desktop Bridge
  9. 9. Desktop Bridge ▪ Supports Build 14393, Anniversary Edition ▪ Deployment ▪ Use Windows Runtime APIs ▪ Add UWP Features over time
  10. 10. Why UWP? ▪ New Features ▪ Modern Styling ▪ Adaptive UI ▪ Runs Native – Performance! ▪ Windows 10 uses UWP
  11. 11. UWP Features ▪ Easy Deployment/Updates ▪ New Controls ▪ Data Sharing ▪ Tile Updates, Notifications
  12. 12. SHARING CODE 2
  13. 13. Libraries ▪ .NET Standard Libraries ▪ Successor for Portable Libraries (Legacy) ▪ .NET Standard 2.0 • .NET Framework 4.6.1 • UWP Build 16299 • Xamarin.iOS 10.14, Xamarin.Android 8.0 ▪ https://docs.microsoft.com/dotnet/standard/net-standard
  14. 14. MVVM Pattern View View-Model Model INotifyPropertyChanged INotifyPropertyChanged Data Binding, Binding to Commands XAML
  15. 15. Dependency Injection
  16. 16. Dependency Injection
  17. 17. Compiled Binding
  18. 18. What you’ve seen ▪ .NET Standard ▪ MVVM removes strong dependencies ▪ DI Container makes DI easy ▪ Compiled Binding with UWP
  19. 19. UWP XAML FEATURES 3
  20. 20. Commands
  21. 21. Controls
  22. 22. Books Sample App
  23. 23. What you’ve seen ▪ Shared View-Models ▪ Shared Services ▪ AppBar ▪ Enhanced TextBox ▪ NavigationView ▪ Adaptive Trigger
  24. 24. Windows Template Studio
  25. 25. Summary ▪ Desktop Bridge ▪ Use MVVM and DI with XAML ▪ .NET Standard Library ▪ XAML Features
  26. 26. Questions?
  27. 27. More Information (1) ▪ https://docs.microsoft.com ▪ Sample Code: • https://github.com/CNinnovation
  28. 28. More Information (2) ▪ https://github.com/ProfessionalCSharp ▪ https://csharp.christiannagel.com ▪ https://www.cninnovation.com ▪ Training & Coaching
  29. 29. Thank you!
  30. 30. 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

×