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, Bratislava 2017)
Search
Christian Nagel
February 07, 2017
Programming
0
73
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
220
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
110
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
180
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
98
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
89
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
150
Async mit C# 5
christiannagel
1
140
Windows Store Apps mit C#
christiannagel
0
52
Tiles, Toasts & Notifications
christiannagel
0
65
Other Decks in Programming
See All in Programming
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
GitHub Copilotのススメ
marcy731
1
200
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
코틀린으로 멀티플랫폼 만들기
pangmoo
0
150
Milestoner
bkuhlmann
1
410
Node.js v22 で変わること
yosuke_furukawa
PRO
8
2.7k
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
910
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
"config" ってなんだ? / What is "config"?
okashoi
0
240
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
237
11k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
A better future with KSS
kneath
231
16k
Six Lessons from altMBA
skipperchong
21
3k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
YesSQL, Process and Tooling at Scale
rocio
164
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Web development in the modern age
philhawksworth
202
10k
Designing with Data
zakiwarfel
96
4.8k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
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