Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Creating Desktop Apps with UWP (Show IT, Bratis...
Search
Christian Nagel
February 07, 2017
Programming
0
94
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
Share
More Decks by Christian Nagel
See All by Christian Nagel
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
christiannagel
0
360
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
130
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
200
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
140
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
100
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
160
Async mit C# 5
christiannagel
1
150
Windows Store Apps mit C#
christiannagel
0
80
Tiles, Toasts & Notifications
christiannagel
0
100
Other Decks in Programming
See All in Programming
Amazon Bedrock Knowledge Bases Hands-on
konny0311
0
140
CSC509 Lecture 09
javiergs
PRO
0
290
CSC509 Lecture 13
javiergs
PRO
0
250
ドメイン駆動設計のエッセンス
masuda220
PRO
15
7.7k
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
380
CSC509 Lecture 11
javiergs
PRO
0
300
HTTPじゃ遅すぎる! SwitchBotを自作ハブで動かして学ぶBLE通信
occhi
0
230
オンデバイスAIとXcode
ryodeveloper
0
450
しっかり学ぶ java.lang.*
nagise
0
160
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
3
770
flutter_kaigi_2025.pdf
kyoheig3
1
220
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
480
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
A Tale of Four Properties
chriscoyier
161
23k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
320
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Transcript
Creating Desktop Apps with UWP Christian Nagel @christiannagel www.cninnovation.com
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!
No
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://docs.microsoft.com • 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 • 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
www.showit.sk www.gopas.sk