SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
Copyright © Brian Noyes, All rights reserved
Windows Desktop Development
Landscape &
WPF Top Ten Power Features
Brian Noyes
CTO and Co-founder, Solliance
brian.noyes@solliance.net, @briannoyes
Copyright © Brian Noyes, All rights reserved
About Brian Noyes
CTO and Co-founder, Solliance
www.solliance.net
Microsoft Regional Director
Microsoft MVP
Pluralsight author
www.pluralsight.com
t
e brian.noyes@solliance.net
@briannoyes
http://briannoyes.net
Web API Insider, Windows Azure Insider,
Window Store App Insider, C#/VB Insider
Copyright © Brian Noyes, All rights reserved
Agenda
 Windows Desktop Development Landscape
 UI Frameworks
 XAML Platforms
 WPF
 UWP
 Multi-platform targeting
Copyright © Brian Noyes, All rights reserved
UI Framework Mortality
 What does it mean for a software framework to be dead?
 There is a big difference between “dead” and “mature”
 Windows Forms is not dead
 But I wouldn’t build any new projects with it
 Silverlight is not dead
 But it is in the trauma unit on life support
 Windows Phone is not dead
 But it has been bloodied on the battlefield and its fate is uncertain
 WPF is alive and well
Copyright © Brian Noyes, All rights reserved
XAML Platforms
 XAML is the past, present, and future of Windows (and other
platform) desktop development
 Many flavors
 WPF
 Silverlight
 Windows Phone
 WinRT ( aka Windows Runtime, but not the same thing as Windows RT)
 Aka “Windows Store apps” aka “Modern Apps” aka “Metro Apps”
 8.1: Universal Apps
 Universal Windows Platform (UWP – Windows 10 and up only)
 Xamarin
 iOS, Android, Mac desktop, UWP
Copyright © Brian Noyes, All rights reserved
Which Should I Care About?
 WPF
 Silverlight
 Windows Phone
 WinRT
 8.1: Universal Apps
 UWP
 Xamarin
Copyright © Brian Noyes, All rights reserved
WPF
 Almost a decade old
 Which means it should be dead several times over compared to other UI
Frameworks
 Still the most capable XAML platform
 Remarkable how mature it was in v1.0
 Very few function or capability changes since then
 A few that were introduced first into Silverlight 4 & 5, then retrofitted into
WPF 4 and 4.5
Copyright © Brian Noyes, All rights reserved
WPF Capabilities Missing in other XAML Platforms
 Data binding validation
 Implicit DataTemplates
 DynamicResources
 Multi-Bindings
 A half dozen of so other Binding capabilities
 Relative source, Async, update trigger, fallback values, target null value…
 DependencyProperty change callbacks
 Shared Size Groups
 Full .NET framework capabilities
Copyright © Brian Noyes, All rights reserved
WPF Downsides
 Windows Desktop only
 Not as “Touch” friendly out of the box
 Third party control suites help
 Look a little dated with default styling
Phone Small Tablet
2-in-1s
(Tablet or Laptop)
Desktops
& All-in-OnesPhablet Large Tablet
Classic
Laptop
Xbox IoTSurface Hub Holographic
Windows 10
Copyright © Brian Noyes, All rights reserved
Universal Windows Platform (UWP)
 XAML for Windows 10
 all form factors - Large screen, desktop, mobile, Xbox, IoT, Hololens
 Designed for great UX
 Touch, Pen, or keyboard/mouse
 Based on WinRT
 Relaxes some of the dogmatic design guidance of WinRT and
"Modern Apps" aka "Windows Store Apps" aka "Metro Apps"
Copyright © Brian Noyes, All rights reserved
Universal Windows Platform (UWP)
 Broader capabilities
 Function as a desktop app or full screen app, participate in Continuum, use
other Win10 platform features
 Should be a primary consideration for "desktop" apps if targeting
only Windows 10 is not a problem
 Which it is for most businesses and governments right now
Easy for users to get
& stay current
Unified core
and app platform
The convergence journey
Windows 10
Converged
OS kernel
Converged
app model
Design
Design
Copyright © Brian Noyes, All rights reserved
Bridges
• iOS (Islandwood), Android (Astoria), Hosted Web Apps (Westminster),
.NET/Win32 apps (Centennial)
• Microsoft play to make it more attractive/easy to migrate from other platforms to
Windows 10
• Not the other way around
• Astoria - Android Bridge
• Demoed at Build 2015
• Wrapper approach to take Android app code and put a wrapper on it so it can be deployed as
a Windows 10 UWP app
• Unofficially dead or delayed
• Islandwood
• Pull iOS ObjectiveC into Visual Studio and recompile it to be a UWP app
• API adapters to integrate with UWP platform features (gaming APIs, UWP lifecycle events,
etc)
Copyright © Brian Noyes, All rights reserved
Xamarin
• Write your shared mobile app code in C#
• Write separate UI presentation code per platform
OR:
• For simple UI (i.e. static content and non-visualization data centric
apps) – use Xamarin Forms
• One UI definition for multiple platforms – in XAML!
• Great integration with Visual Studio
• Separate cross-plat Xamarin Studio for consistent experience on Mac
and Windows
• Good tooling and great ecosystem
Copyright © Brian Noyes, All rights reserved
Multi-platform Targeting
• Can I build a XAML app that I can deploy as a WPF app for <Win10
machines, UWP for Windows machines, and Xamarin for mobile apps?
• No
• Can I build a significant portion of my application logic code in a way that
can be reused in WPF, UWP, and Xamarin apps
• Absolutely!
• Portable Class Libraries (PCLs are the secret sauce)
• Can I reuse any of my XAML across those platforms?
• No, not really
• Copy/Paste/Tweak reuse of fragments
• Different control sets, navigation paradigms, application lifecycles
Copyright © Brian Noyes, All rights reserved
What about Single Page Apps?
What are they?
• Smart/Rich client apps that run in the browser
• A replacement for browser plugins (Silverlight, Flash, Java Applets)
• Written with HTML/CSS/JavaScript
• Based on the modern web (HTML 5, ECMAScript 5,6/2015, CSS 3) and current browser
capabilites (i.e. blazing fast JS execution, rendering that leverages GPU)
• Use SPA frameworks
• Examples: Angular (1.x, 2), Aurelia, React, Ember, Knockout, Backbone
• UI separation patterns: MVC/MVVM
• Have rich data binding
• Use dependency injection
• Have client navigation (routing) functionality
• Assist in making AJAX (Web API) calls
• Same architectural patterns as a well designed XAML desktop app, just different syntax
and execution environment
Copyright © Brian Noyes, All rights reserved
What about Single Page Apps?
What would you choose them?
• Because you get to write your app in JavaScript, baby! 
• Inherently cross platform on desktop machines
(Windows/Mac/Linux/Mobile)
• With responsive design, can work beautifully or at least sufficiently on
mobile web browsers
• Can be packaged with Cordova as an installed mobile app from the
app stores (Apple App Store, Google Play, Windows Store)
Copyright © Brian Noyes, All rights reserved
Break!
Copyright © Brian Noyes, All rights reserved
WPF Top Ten(-ish) Power
Features
Copyright © Brian Noyes, All rights reserved
Top Ten-ish Power Features/Tips/Techniques
(in presentation order, not importance)
1. Format XAML
2. Data binding errors
3. Smart converters
4. XAML namespaces
5. Vector Images
1. Xamalot
6. ItemsControl panel customization
a) ListBox templating
7. Implicit DataTemplates
8. Use MVVM and Leverage a framework
• Prism, MVVM Light, Caliburn Micro, MVVMCross
Copyright © Brian Noyes, All rights reserved
Top Ten-ish Power Features/Tips/Techniques
(in presentation order, not importance)
7. Leverage the Designer
• Clear Layout, Grid cols/rows
• Drag/Drop data binding
8. Leverage Blend
• VSM, Behaviors, Animations
9. Behaviors
10. Visual State Manager
11. Understand and Inspect the Visual Tree
12. Shared Size Groups

Weitere ähnliche Inhalte

Was ist angesagt?

Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5pescetti
 
EDMUG Silverlight Talk
EDMUG Silverlight TalkEDMUG Silverlight Talk
EDMUG Silverlight TalkMark Bennett
 
Opening the mobile web mozilla and firefox os-chit thiri maung
Opening the mobile web   mozilla and firefox os-chit thiri maungOpening the mobile web   mozilla and firefox os-chit thiri maung
Opening the mobile web mozilla and firefox os-chit thiri maungChit Thiri Maung
 
Silverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSilverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSatyen Pandya
 
Silverlight Framework Architecture
Silverlight Framework ArchitectureSilverlight Framework Architecture
Silverlight Framework ArchitectureAshok
 
Silverlight 4 @ MSDN Live
Silverlight 4 @ MSDN LiveSilverlight 4 @ MSDN Live
Silverlight 4 @ MSDN Livegoeran
 
MikeTaulty_Ux_Update
MikeTaulty_Ux_UpdateMikeTaulty_Ux_Update
MikeTaulty_Ux_Updateukdpe
 
What's Silverlight?
What's Silverlight?What's Silverlight?
What's Silverlight?Timmy Kokke
 
Xamarin Dev Days Madrid 2017 - Xamarin.Forms
Xamarin Dev Days Madrid 2017 -  Xamarin.FormsXamarin Dev Days Madrid 2017 -  Xamarin.Forms
Xamarin Dev Days Madrid 2017 - Xamarin.FormsJavier Suárez Ruiz
 
WPF & Silverlight Intro
WPF & Silverlight IntroWPF & Silverlight Intro
WPF & Silverlight IntroDave Allen
 
Docker containers en cross platform development
Docker containers en cross platform developmentDocker containers en cross platform development
Docker containers en cross platform developmentDelta-N
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4msarangam
 
Make Web, Not War - Keynote: Embracing Chaos, David Crow
Make Web, Not War - Keynote: Embracing Chaos, David CrowMake Web, Not War - Keynote: Embracing Chaos, David Crow
Make Web, Not War - Keynote: Embracing Chaos, David CrowMake Web Not War
 
Developing for Windows Phone 7
Developing for Windows Phone 7Developing for Windows Phone 7
Developing for Windows Phone 7Gergely Orosz
 

Was ist angesagt? (20)

Silverlight
SilverlightSilverlight
Silverlight
 
Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5
 
EDMUG Silverlight Talk
EDMUG Silverlight TalkEDMUG Silverlight Talk
EDMUG Silverlight Talk
 
Opening the mobile web mozilla and firefox os-chit thiri maung
Opening the mobile web   mozilla and firefox os-chit thiri maungOpening the mobile web   mozilla and firefox os-chit thiri maung
Opening the mobile web mozilla and firefox os-chit thiri maung
 
Silverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSilverlight Framework Architecture By Satyen
Silverlight Framework Architecture By Satyen
 
Silverlight Framework Architecture
Silverlight Framework ArchitectureSilverlight Framework Architecture
Silverlight Framework Architecture
 
Microsoft Silverlight
Microsoft SilverlightMicrosoft Silverlight
Microsoft Silverlight
 
Silverlight 4 @ MSDN Live
Silverlight 4 @ MSDN LiveSilverlight 4 @ MSDN Live
Silverlight 4 @ MSDN Live
 
MikeTaulty_Ux_Update
MikeTaulty_Ux_UpdateMikeTaulty_Ux_Update
MikeTaulty_Ux_Update
 
What's Silverlight?
What's Silverlight?What's Silverlight?
What's Silverlight?
 
Exp Web
Exp WebExp Web
Exp Web
 
Xamarin Dev Days Madrid 2017 - Xamarin.Forms
Xamarin Dev Days Madrid 2017 -  Xamarin.FormsXamarin Dev Days Madrid 2017 -  Xamarin.Forms
Xamarin Dev Days Madrid 2017 - Xamarin.Forms
 
WPF & Silverlight Intro
WPF & Silverlight IntroWPF & Silverlight Intro
WPF & Silverlight Intro
 
Silverlight
SilverlightSilverlight
Silverlight
 
Docker containers en cross platform development
Docker containers en cross platform developmentDocker containers en cross platform development
Docker containers en cross platform development
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Make Web, Not War - Keynote: Embracing Chaos, David Crow
Make Web, Not War - Keynote: Embracing Chaos, David CrowMake Web, Not War - Keynote: Embracing Chaos, David Crow
Make Web, Not War - Keynote: Embracing Chaos, David Crow
 
Developing for Windows Phone 7
Developing for Windows Phone 7Developing for Windows Phone 7
Developing for Windows Phone 7
 
Azure mobile services
Azure mobile servicesAzure mobile services
Azure mobile services
 

Ähnlich wie WPF Top 10 Power Features

Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarAbram John Limpin
 
Introduction to silverlight
Introduction to silverlightIntroduction to silverlight
Introduction to silverlightmsarangam
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlightmtaulty
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlightukdpe
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlightguest50274e
 
What's new in Blend for Visual Studio 2015
What's new in Blend for Visual Studio 2015What's new in Blend for Visual Studio 2015
What's new in Blend for Visual Studio 2015Fons Sonnemans
 
Silverlight Chapter 01 - Introduction
Silverlight Chapter 01 - IntroductionSilverlight Chapter 01 - Introduction
Silverlight Chapter 01 - IntroductionBill Hatfield
 
XAML: One Language to Rule Them All
XAML: One Language to Rule Them AllXAML: One Language to Rule Them All
XAML: One Language to Rule Them AllFrank La Vigne
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by SubodhSubodh Pushpak
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-upDerek Lakin
 
Windows 10 pentru dezvoltatori - InfoEducație 2015
Windows 10 pentru dezvoltatori - InfoEducație 2015Windows 10 pentru dezvoltatori - InfoEducație 2015
Windows 10 pentru dezvoltatori - InfoEducație 2015Julian Atanasoae
 
Tech Lunch 9 25 2008
Tech Lunch 9 25 2008Tech Lunch 9 25 2008
Tech Lunch 9 25 2008rothacr
 
Mobile Developer's Guide To The Galaxy No. 9
Mobile Developer's Guide To The Galaxy No. 9Mobile Developer's Guide To The Galaxy No. 9
Mobile Developer's Guide To The Galaxy No. 9Marco Tabor
 
01 introducing the windows phone 8.1
01   introducing the windows phone 8.101   introducing the windows phone 8.1
01 introducing the windows phone 8.1WindowsPhoneRocks
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalgasbillet
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalgasbillet
 
Windows Phone 7: Silverlight
Windows Phone 7: SilverlightWindows Phone 7: Silverlight
Windows Phone 7: SilverlightRishu Mehra
 

Ähnlich wie WPF Top 10 Power Features (20)

Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight Seminar
 
Introduction to silverlight
Introduction to silverlightIntroduction to silverlight
Introduction to silverlight
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlight
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlight
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlight
 
What's new in Blend for Visual Studio 2015
What's new in Blend for Visual Studio 2015What's new in Blend for Visual Studio 2015
What's new in Blend for Visual Studio 2015
 
Silverlight Chapter 01 - Introduction
Silverlight Chapter 01 - IntroductionSilverlight Chapter 01 - Introduction
Silverlight Chapter 01 - Introduction
 
SilverlightCh01
SilverlightCh01SilverlightCh01
SilverlightCh01
 
XAML: One Language to Rule Them All
XAML: One Language to Rule Them AllXAML: One Language to Rule Them All
XAML: One Language to Rule Them All
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by Subodh
 
Silverlight
SilverlightSilverlight
Silverlight
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-up
 
Intro to silverlight_20110602
Intro to silverlight_20110602Intro to silverlight_20110602
Intro to silverlight_20110602
 
Windows 10 pentru dezvoltatori - InfoEducație 2015
Windows 10 pentru dezvoltatori - InfoEducație 2015Windows 10 pentru dezvoltatori - InfoEducație 2015
Windows 10 pentru dezvoltatori - InfoEducație 2015
 
Tech Lunch 9 25 2008
Tech Lunch 9 25 2008Tech Lunch 9 25 2008
Tech Lunch 9 25 2008
 
Mobile Developer's Guide To The Galaxy No. 9
Mobile Developer's Guide To The Galaxy No. 9Mobile Developer's Guide To The Galaxy No. 9
Mobile Developer's Guide To The Galaxy No. 9
 
01 introducing the windows phone 8.1
01   introducing the windows phone 8.101   introducing the windows phone 8.1
01 introducing the windows phone 8.1
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
 
Windows Phone 7: Silverlight
Windows Phone 7: SilverlightWindows Phone 7: Silverlight
Windows Phone 7: Silverlight
 

Mehr von MSDEVMTL

Intro grpc.net
Intro  grpc.netIntro  grpc.net
Intro grpc.netMSDEVMTL
 
Grpc and asp.net partie 2
Grpc and asp.net partie 2Grpc and asp.net partie 2
Grpc and asp.net partie 2MSDEVMTL
 
Property based testing
Property based testingProperty based testing
Property based testingMSDEVMTL
 
Improve cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft AzureImprove cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft AzureMSDEVMTL
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataMSDEVMTL
 
C sharp 8.0 new features
C sharp 8.0 new featuresC sharp 8.0 new features
C sharp 8.0 new featuresMSDEVMTL
 
Asp.net core 3
Asp.net core 3Asp.net core 3
Asp.net core 3MSDEVMTL
 
MSDEVMTL Informations 2019
MSDEVMTL Informations 2019MSDEVMTL Informations 2019
MSDEVMTL Informations 2019MSDEVMTL
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcoreMSDEVMTL
 
Groupe Excel et Power BI - Rencontre du 25 septembre 2018
Groupe Excel et Power BI  - Rencontre du 25 septembre 2018Groupe Excel et Power BI  - Rencontre du 25 septembre 2018
Groupe Excel et Power BI - Rencontre du 25 septembre 2018MSDEVMTL
 
Api gateway
Api gatewayApi gateway
Api gatewayMSDEVMTL
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcoreMSDEVMTL
 
Stephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsStephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsMSDEVMTL
 
Eric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts AzureEric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts AzureMSDEVMTL
 
Data science presentation
Data science presentationData science presentation
Data science presentationMSDEVMTL
 
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...MSDEVMTL
 
Open id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api coreOpen id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api coreMSDEVMTL
 
Yoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analyticsYoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analyticsMSDEVMTL
 
CAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling AverageCAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling AverageMSDEVMTL
 
CAE: etude de cas
CAE: etude de casCAE: etude de cas
CAE: etude de casMSDEVMTL
 

Mehr von MSDEVMTL (20)

Intro grpc.net
Intro  grpc.netIntro  grpc.net
Intro grpc.net
 
Grpc and asp.net partie 2
Grpc and asp.net partie 2Grpc and asp.net partie 2
Grpc and asp.net partie 2
 
Property based testing
Property based testingProperty based testing
Property based testing
 
Improve cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft AzureImprove cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft Azure
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & Data
 
C sharp 8.0 new features
C sharp 8.0 new featuresC sharp 8.0 new features
C sharp 8.0 new features
 
Asp.net core 3
Asp.net core 3Asp.net core 3
Asp.net core 3
 
MSDEVMTL Informations 2019
MSDEVMTL Informations 2019MSDEVMTL Informations 2019
MSDEVMTL Informations 2019
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcore
 
Groupe Excel et Power BI - Rencontre du 25 septembre 2018
Groupe Excel et Power BI  - Rencontre du 25 septembre 2018Groupe Excel et Power BI  - Rencontre du 25 septembre 2018
Groupe Excel et Power BI - Rencontre du 25 septembre 2018
 
Api gateway
Api gatewayApi gateway
Api gateway
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcore
 
Stephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsStephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environments
 
Eric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts AzureEric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts Azure
 
Data science presentation
Data science presentationData science presentation
Data science presentation
 
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
 
Open id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api coreOpen id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api core
 
Yoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analyticsYoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analytics
 
CAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling AverageCAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling Average
 
CAE: etude de cas
CAE: etude de casCAE: etude de cas
CAE: etude de cas
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

WPF Top 10 Power Features

  • 1. Copyright © Brian Noyes, All rights reserved Windows Desktop Development Landscape & WPF Top Ten Power Features Brian Noyes CTO and Co-founder, Solliance brian.noyes@solliance.net, @briannoyes
  • 2. Copyright © Brian Noyes, All rights reserved About Brian Noyes CTO and Co-founder, Solliance www.solliance.net Microsoft Regional Director Microsoft MVP Pluralsight author www.pluralsight.com t e brian.noyes@solliance.net @briannoyes http://briannoyes.net Web API Insider, Windows Azure Insider, Window Store App Insider, C#/VB Insider
  • 3. Copyright © Brian Noyes, All rights reserved Agenda  Windows Desktop Development Landscape  UI Frameworks  XAML Platforms  WPF  UWP  Multi-platform targeting
  • 4. Copyright © Brian Noyes, All rights reserved UI Framework Mortality  What does it mean for a software framework to be dead?  There is a big difference between “dead” and “mature”  Windows Forms is not dead  But I wouldn’t build any new projects with it  Silverlight is not dead  But it is in the trauma unit on life support  Windows Phone is not dead  But it has been bloodied on the battlefield and its fate is uncertain  WPF is alive and well
  • 5. Copyright © Brian Noyes, All rights reserved XAML Platforms  XAML is the past, present, and future of Windows (and other platform) desktop development  Many flavors  WPF  Silverlight  Windows Phone  WinRT ( aka Windows Runtime, but not the same thing as Windows RT)  Aka “Windows Store apps” aka “Modern Apps” aka “Metro Apps”  8.1: Universal Apps  Universal Windows Platform (UWP – Windows 10 and up only)  Xamarin  iOS, Android, Mac desktop, UWP
  • 6. Copyright © Brian Noyes, All rights reserved Which Should I Care About?  WPF  Silverlight  Windows Phone  WinRT  8.1: Universal Apps  UWP  Xamarin
  • 7. Copyright © Brian Noyes, All rights reserved WPF  Almost a decade old  Which means it should be dead several times over compared to other UI Frameworks  Still the most capable XAML platform  Remarkable how mature it was in v1.0  Very few function or capability changes since then  A few that were introduced first into Silverlight 4 & 5, then retrofitted into WPF 4 and 4.5
  • 8. Copyright © Brian Noyes, All rights reserved WPF Capabilities Missing in other XAML Platforms  Data binding validation  Implicit DataTemplates  DynamicResources  Multi-Bindings  A half dozen of so other Binding capabilities  Relative source, Async, update trigger, fallback values, target null value…  DependencyProperty change callbacks  Shared Size Groups  Full .NET framework capabilities
  • 9. Copyright © Brian Noyes, All rights reserved WPF Downsides  Windows Desktop only  Not as “Touch” friendly out of the box  Third party control suites help  Look a little dated with default styling
  • 10. Phone Small Tablet 2-in-1s (Tablet or Laptop) Desktops & All-in-OnesPhablet Large Tablet Classic Laptop Xbox IoTSurface Hub Holographic Windows 10
  • 11. Copyright © Brian Noyes, All rights reserved Universal Windows Platform (UWP)  XAML for Windows 10  all form factors - Large screen, desktop, mobile, Xbox, IoT, Hololens  Designed for great UX  Touch, Pen, or keyboard/mouse  Based on WinRT  Relaxes some of the dogmatic design guidance of WinRT and "Modern Apps" aka "Windows Store Apps" aka "Metro Apps"
  • 12. Copyright © Brian Noyes, All rights reserved Universal Windows Platform (UWP)  Broader capabilities  Function as a desktop app or full screen app, participate in Continuum, use other Win10 platform features  Should be a primary consideration for "desktop" apps if targeting only Windows 10 is not a problem  Which it is for most businesses and governments right now
  • 13. Easy for users to get & stay current Unified core and app platform The convergence journey Windows 10 Converged OS kernel Converged app model
  • 16.
  • 17.
  • 18. Copyright © Brian Noyes, All rights reserved Bridges • iOS (Islandwood), Android (Astoria), Hosted Web Apps (Westminster), .NET/Win32 apps (Centennial) • Microsoft play to make it more attractive/easy to migrate from other platforms to Windows 10 • Not the other way around • Astoria - Android Bridge • Demoed at Build 2015 • Wrapper approach to take Android app code and put a wrapper on it so it can be deployed as a Windows 10 UWP app • Unofficially dead or delayed • Islandwood • Pull iOS ObjectiveC into Visual Studio and recompile it to be a UWP app • API adapters to integrate with UWP platform features (gaming APIs, UWP lifecycle events, etc)
  • 19. Copyright © Brian Noyes, All rights reserved Xamarin • Write your shared mobile app code in C# • Write separate UI presentation code per platform OR: • For simple UI (i.e. static content and non-visualization data centric apps) – use Xamarin Forms • One UI definition for multiple platforms – in XAML! • Great integration with Visual Studio • Separate cross-plat Xamarin Studio for consistent experience on Mac and Windows • Good tooling and great ecosystem
  • 20. Copyright © Brian Noyes, All rights reserved Multi-platform Targeting • Can I build a XAML app that I can deploy as a WPF app for <Win10 machines, UWP for Windows machines, and Xamarin for mobile apps? • No • Can I build a significant portion of my application logic code in a way that can be reused in WPF, UWP, and Xamarin apps • Absolutely! • Portable Class Libraries (PCLs are the secret sauce) • Can I reuse any of my XAML across those platforms? • No, not really • Copy/Paste/Tweak reuse of fragments • Different control sets, navigation paradigms, application lifecycles
  • 21. Copyright © Brian Noyes, All rights reserved What about Single Page Apps? What are they? • Smart/Rich client apps that run in the browser • A replacement for browser plugins (Silverlight, Flash, Java Applets) • Written with HTML/CSS/JavaScript • Based on the modern web (HTML 5, ECMAScript 5,6/2015, CSS 3) and current browser capabilites (i.e. blazing fast JS execution, rendering that leverages GPU) • Use SPA frameworks • Examples: Angular (1.x, 2), Aurelia, React, Ember, Knockout, Backbone • UI separation patterns: MVC/MVVM • Have rich data binding • Use dependency injection • Have client navigation (routing) functionality • Assist in making AJAX (Web API) calls • Same architectural patterns as a well designed XAML desktop app, just different syntax and execution environment
  • 22. Copyright © Brian Noyes, All rights reserved What about Single Page Apps? What would you choose them? • Because you get to write your app in JavaScript, baby!  • Inherently cross platform on desktop machines (Windows/Mac/Linux/Mobile) • With responsive design, can work beautifully or at least sufficiently on mobile web browsers • Can be packaged with Cordova as an installed mobile app from the app stores (Apple App Store, Google Play, Windows Store)
  • 23. Copyright © Brian Noyes, All rights reserved Break!
  • 24. Copyright © Brian Noyes, All rights reserved WPF Top Ten(-ish) Power Features
  • 25. Copyright © Brian Noyes, All rights reserved Top Ten-ish Power Features/Tips/Techniques (in presentation order, not importance) 1. Format XAML 2. Data binding errors 3. Smart converters 4. XAML namespaces 5. Vector Images 1. Xamalot 6. ItemsControl panel customization a) ListBox templating 7. Implicit DataTemplates 8. Use MVVM and Leverage a framework • Prism, MVVM Light, Caliburn Micro, MVVMCross
  • 26. Copyright © Brian Noyes, All rights reserved Top Ten-ish Power Features/Tips/Techniques (in presentation order, not importance) 7. Leverage the Designer • Clear Layout, Grid cols/rows • Drag/Drop data binding 8. Leverage Blend • VSM, Behaviors, Animations 9. Behaviors 10. Visual State Manager 11. Understand and Inspect the Visual Tree 12. Shared Size Groups