universal windows platform one codebase for mobile, desktop, iot, xbox, hololens, etc. gergely

Download Universal Windows Platform One codebase for Mobile, Desktop, IoT, Xbox, HoloLens, etc. Gergely

If you can't read please download the document

Upload: william-smith

Post on 17-Jan-2018

224 views

Category:

Documents


0 download

DESCRIPTION

Goal of the talk Give an overview about UWP E.g. if you have a product and you have to deliver a Windows client/version UWP can be relevant. After this talk you should be able to decide if UWP is the way to go. Show you an interesting concept (1 codebase (including UI!) for everything) E.g. if you are an iOS developer imagine that you write one codebase for Mac, Apple Watch, iPhone, iPad, and iWoaßNetWos This is not a deep dive talk on UWP

TRANSCRIPT

Universal Windows Platform One codebase for Mobile, Desktop, IoT, Xbox, HoloLens, etc. Gergely About me Gergely Kalapos, Short: Gerg as a Software Engineer Born in Hungary Studied Software Engineering at JKU in Linz Started with.NET development around 2008 Goal of the talk Give an overview about UWP E.g. if you have a product and you have to deliver a Windows client/version UWP can be relevant. After this talk you should be able to decide if UWP is the way to go. Show you an interesting concept (1 codebase (including UI!) for everything) E.g. if you are an iOS developer imagine that you write one codebase for Mac, Apple Watch, iPhone, iPad, and iWoaNetWos This is not a deep dive talk on UWP Goal of the talk I dont work for Microsoft -> I will also tell you what I dont like about it or what are thing which do not work well Outline 1.What is UWP? Why did Microsoft create it? 2.Create a single UI: Phone(~4) Surface hub 55 3.Code sharing: IoT (Resberry Pi) Desktop PC (i7, 16GB Ram) 4.Cortana Integration How to try it? Install Visual Studio 2015 and Windows 10 (It also works with a VM, it runs perfectly on my Mac with VMware!) How to try it? History Source: Microsoft Windows Runtime Windows Runtime Why do we need it? public async Task LongRunningMethod() { var file = await Windows.Storage.ApplicationData.Current.LocalFolder.CreateFileAsync("VeryBigFile.dat ", Windows.Storage.CreationCollisionOption.ReplaceExisting); using (var stream = await file.OpenStreamForWriteAsync()) { using (var streamWriter = new StreamWriter(stream)) { var lotsOfData = GetLotsOfData(); await streamWriter.WriteAsync(lotsOfData); } Benefit One UI for every Windows 10 device Devices with very small (Phone) and very big (Xbox) display. What about the UI? Tailored UI selected manually. //Get the diagonal size of the integrated display var dsc = new DisplaySizeHelper.DisplaySizeClass(); double _actualSizeInInches = dsc.GetDisplaySizeInInches(); //If the diagonal size is