"Après une période de calme relatif, la Terre du Milieu est à nouveau en proie à l’émoi : Un seul code pour les gouverner tous, tel semble être le nouveau crédo des bâtisseurs des contrées d’UWP, depuis que le peuple Xamarin a créé de nouveaux passages vers les terres d’Android et d’iOS.
Avec de nouvelles forges et de nouvelles armes permettant aux guerriers de s’aventurer sur tablette, PC et même en Holographie, le régent Windows 10 est devenu le symbole de l’universalité du royaume.
Il est donc temps de passer en revue vos troupes ! Armez C#, Windows Inking, Microsoft Composition, Centenial !
Découvrez comment Xamarin, grande cité récemment conquise, propose d’intégrer de nouvelles techniques de combat pour faire du language .Net le verbiage parfait des mondes mobiles, quelle que soit votre contrée d’origine (Android, IOS, ou Windows)"
3. Un code C# pour les unir, et par le framework .net les lier.
4.
5.
6.
7.
8.
9. UWP on Xbox One
Windows Inking (InkToolbar)
Cortana Insights/Actions
Windows.UI.Composition
Desktop Bridge (Centennial)
UWP Community Toolkit
What’s new ?
15. Why ?
N° 17
Incomplete
Uninstalls
Registry Bloat and
“PC Rot”
Untrustworthy
Installers
DLL Hell
Distribution
visibility and trust
No access to most
new UWP APIs
(no app identity)
17. Support new and existing customers
•
•
•
•
.appx
Windows 10
.msi
Windows 7
Classic Windows App
win32 | wpf | winforms | vb6 | delphi | more
desktop app
converter
existing installer
build process
18. Keep the user safety / privacy promise
Your App
Windows 10
Your App
Windows 7
Virtualized
HKCU
Registry.dat
Full Windows
Registry
UWP
AppData
folder
Windows
AppData
folder
no code changes required!
19. Use Windows 10 features
Your Classic
Windows App,
in UWP app
package,
with Identity
Windows 10
Cortana
Live Tiles
Store
Camera and
Devices
more
23. Partage de code
Réutilisation de
compétences
Visual Studio
Xamarin
N° 25
C# partout
Performance
Expérience utilisateur
100% des fonctionnalités
Apps natives
iOS, Android
Android Wear/TV
Apple Watch/TV
macOS
Toujours à
jour
39. Partage de code important
Expérience utilisateur moins importante
Application peu complexe
Interface unifiée et simple, peu de fonctionnalités natives
Peu d’exigences en performances
Le prix à payer pour une couche d’abstraction
App B2B (ou POC)
Priorité au fonctionnel, avant la forme
Compétences XAML
Réutilisation des connaissances XAML, moins exigeant en connaissances natives
Quand choisir Xamarin.Forms ?
N° 41
Who of you have had to deal with any of these issues? Like Messy Uninstall? Using external tools for patching and updates? Registry bloating? DLL Hell? Distribution problems?
Maybe you have wanted to use UWP APIs from a Win32 desktop app?
The tools we have provided you so far made it hard to address these issues for both users and you as developers.
We took your feedback and made Project Centennial
UWP using Desktop Conversion extensions is a bridge that enables you to convert your Windows desktop application (like Win32, Windows Forms, and WPF) or game to a Universal Windows Platform (UWP) app or game. For more info, see Guide to UWP apps. After conversion, your Windows desktop application is packaged, serviced, and deployed in the form of a UWP app package (an .appx or an .appxbundle) targeting Windows 10 Desktop.
Your desktop app can use any desktop application compilation technology which targets the win32 desktop today. Basically non WinRT/UWP app you use on your PC.
If you want to use the new distribution stack, you don’t need to change any code. Just add the desktop app converter / Appx build as part of your overall build process. You can leave your Windows 7-targeted code exactly the same, and use the same MSI technology you’re using today.
Appx
Supports side-loading
One-click install
Clean and guaranteed uninstall
Cannot install drivers or require administrator rights
Your desktop app can use any desktop application compilation technology which targets the win32 desktop today. Basically non WinRT/UWP app you use on your PC.
If you want to use the new distribution stack, you don’t need to change any code. Just add the desktop app converter / Appx build as part of your overall build process. You can leave your Windows 7-targeted code exactly the same, and use the same MSI technology you’re using today.
Appx
Supports side-loading
One-click install
Clean and guaranteed uninstall
Cannot install drivers or require administrator rights
When running in the app package, your app accesses virtualized versions of HKEY Current User and the AppData folder. When installed via MSI, it works exactly as it did before.
This preserves your app and also keeps the promise to users for safety and reliability.
Once your app has been packaged, it has a UWP Identity. This identity allows access to more APIs than you can reach via Win32 alone.
Cortana, Live Tiles …
Attention ! Chiffres potentiels, ce qu’on peut espérer obtenir dans le cas d’une bonne architecture et d’une app pas trop orientée UI
Partageable :
Appels aux web services
Base de donnée locale
Logique métier
=> Tout ce qui n’est pas UI (sauf XF) ou spécifique plateforme
Partage de code important
Interface unifiée, au détriment de l’expérience utilisateur
Application peu complexe
Peu de fonctionnalités natives et interface simple
Peu d’exigences en performances
Le prix à payer pour une couche d’abstraction
App B2B (ou POC)
Priorité au fonctionnement avant la forme
Compétences XAML
Réutilisation des connaissances XAML, moins exigeant en connaissances natives
$99 / mois : 1 device à la fois + 1h / jour => avec MSDN $75
$249 / mois : 2 devices à la fois + 3h / jour => avec MSDN $187