Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Graphic interfaceRadosław Osiński
Technical Evangelist
Microsoft
Lectures intro
• No labs this week
• Materials in English
• All materials will be published
• Topics WPF, UWP, WinForms, Windows API, UX
• Assessment based on labs – info about number of points on each lab
Current approach
• PC Application
• Web Application
• Mobile Application
Why creating desktop /mobile app instead web app?
• Internet access
• Equipment access• Memory usage
• Graphic usage
• User engagement - notifications directly to user device
Do you imagine use in browser:
• Photoshop
• AutoCAD
• Matlab
• Fortnite / Forza / Fallout
• Browser
WinFormsWindows
Forms
WPFWindows
PresentationFoundation
+XAML
eXtensibleApplication
MarkupLanguage
UWPUniversalWindowsPlatform
+XAML
OrJavaScript
Xamarin+
Xamarin Forms
1st
revolution!
2nd
revolution!3rd
revolution!
Windows Forms
If it is the oldest why to use that?
Better not ☺
But…
First you should understand background and be able to integrate with old applications
Second you may have to do something in old application.Be the person everyone can count on!
Why WinForms are not good enough?
• Created when computers were not so powerful
• Not adopted to new graphics cards
• Created when only one screen resolution was used
Solution:
1st revolution – screed diversity!
• Created when only one type of the device was created
Now we have:PCTabletsIoT DevicesPhonesHoloLensXboxSurface Hub
Write once use on many devices!
Why WPF is not good enough?
Solution:
2nd revolution – devices diversity!
Why UWP is not good enough?
• Microsoft is not alone
• Other technologies are important too!• Android
• iOS
Solution:
3rd revolution – platforms diversity!
Maybe other way around?
Progressive Web Apps
+
Responsive Design
From web development to native clients
So maybe everything this way…
…platform specific approach
Thinking outside of the box
Custom API
Office 365
Azure AD and Azure AD B2C
.NET world for Windows 10
Lets look into UWP capabilities
Camera and objects recognition
Speech2Text and Text2Speach
Pen and Ink
• Drawing• Hand writing recognition
Mixed reality
Sensors
IoT Devices with Azure IoT Hub
AccelerometerMagnetometerGyrometerAmbient lightHall effectWi-Fi SAR
Semantic zoom
IR camera
Accessibility
UWP Community Toolkit
https://www.microsoft.com/en-us/p/windows-community-toolkit-sample-app/9nblggh4tlcq?rtc=1&activetab=pivot:overviewtab
Windows community toolkit demo
Easy template
Template studio demo
What if I have old application?
Option 1: Migrate
Bridge to the Universal Windows Platform
At this point your app has
Modern installation and deployment
Activation via Tiles, file types or URI protocols
App identity, resulting in access to more UWP APIs
Using UWP controls inside WPF and WinForms
Option 2: Integrate
XAML Island