Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
Christian Nagel
February 06, 2017
Programming
0
78
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
How to best support both WPF and UWP, and move from WPF to UWP
Christian Nagel
February 06, 2017
Tweet
Share
More Decks by Christian Nagel
See All by Christian Nagel
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
christiannagel
0
160
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
99
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
170
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
67
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
84
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
120
Async mit C# 5
christiannagel
0
130
Windows Store Apps mit C#
christiannagel
0
48
Tiles, Toasts & Notifications
christiannagel
0
40
Other Decks in Programming
See All in Programming
Refactor with using `available` and `deprecated`
417_72ki
3
380
Azure Functionsをサクッと開発、サクッとデプロイ/vscodeconf2023-baba
nina01
1
350
TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
potato4d
0
400
Zynq MP SoC で楽しむエッジコンピューティング ~RTLプログラミングのススメ~
ryuz88
0
390
T3 Stack and TypeScript ecosystem
quramy
3
780
Enumを自動で網羅的にテストしてみた
estie
0
1.3k
Qiita Night PHP 2023
fuwasegu
0
11k
OSC大阪 パスワード認証は人類には早すぎる ~ IDaaSを使ったソーシャルログインのすすめ ~
authyasan
7
1.5k
Prácticas de Seguridad en Kubernetes
pablokbs
0
130
Cloudflare Workersと状態管理
chimame
3
490
ipa-medit: Memory search and patch tool for IPA without Jailbreaking/ipa-medit-bh2022-europe
tkmru
0
130
Functional Fun in Kotlin
nomisrev
1
110
Featured
See All Featured
Optimizing for Happiness
mojombo
365
64k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
175
9.1k
In The Pink: A Labor of Love
frogandcode
132
21k
Building Better People: How to give real-time feedback that sticks.
wjessup
346
17k
The Art of Programming - Codeland 2020
erikaheidi
36
11k
We Have a Design System, Now What?
morganepeng
37
5.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
10
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
38
3.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
318
19k
A Philosophy of Restraint
colly
193
15k
The Power of CSS Pseudo Elements
geoffreycrofte
52
4.3k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Transcript
Christian Nagel @christiannagel www.cninnovation.com Creating Desktop Apps with UWP PLATINUM
PARTNER
Goals When & how to use UWP for Data-Driven
Business Applications Moving from WPF to UWP Introducing important concepts for UWP
Non-Goals A complete application UI Styles Desktop
Bridge for UWP No Crashes (using Visual Studio 2017 RC)
Agenda WPF or UWP? Sharing Code UWP XAML Features
Christian Nagel Training Coaching Consulting Microsoft
MVP thinktecture www.cninnovation.com
None
WPF OR UWP? 1
All your users upgraded to Windows 10
Why not always WPF? Use New Features Modern
Styling and APIs Different Devices Windows 10 uses UWP Performance
UWP Features Easy Deployment/Updates New Controls Data
Sharing Tile Updates, Notifications
Windows 7 Users WPF is necessary Desktop Bridge
to add UWP Features for Win10 Users Write the UI multiple times Just the UI
SHARING CODE 2
Libraries .NET Libraries only for WPF/.NET Framework .NET
Core Libraries only for .NET Core Portable Libraries for … .NET Standard makes sharing easier
MVVM Pattern View View-Model Model INotifyPropertyChanged INotifyPropertyChanged Data Binding, Binding
to Commands XAML
Dependency Injection
What you’ve seen Portable Libraries MVVM removes strong
dependencies DI Container makes DI easy
UWP XAML FEATURES 3
Assigning Commands
Compiled Binding
Controls
What you’ve seen AppBar Compiled Binding Enhanced
TextBox SplitView RelativePanel Adaptive Trigger
Summary Use MVVM and DI with XAML Portable
/ .NET Standard Library XAML Features
Questions?
More Information (1) https://blogs.windows.com https://github.com/Microsoft Sample Code:
https://github.com/CNinnovation
More Information (2) https://github.com/ProfessionalCSharp https://csharp.christiannagel.com https://www.cninnovation.com
Training & Coaching
Thank you!
Images Copyright Decision Time © Steve Woods Old
Library © Photogl Diversity workers © Vladimir Mucibabic Injection © Maybe123 Spousal Abuse Humor © Ken Hurst Communication © Fantasista Pilots in the plane © Nikolai Sorokin Fireworks over Brno © Olga Langerova http://www.dreamstime.com
Děkuji za pozornost. www.gopas.cz www.G2BTeched.cz www.TechEd.cz