windows 10 and uwp€¦ · a brief history of .net.net windows desktop windows store windows phone...

13
Visual Studio Live! Redmond 2016 W20 Using Universal Windows Platform and Azure to Build Connected Solutions Daniel Jacobson Using Universal Windows Platform and Azure to Build Connected Solutions Daniel Jacobson Program Manager, Microsoft Visual Studio @pmatmic Windows 10 and UWP

Upload: others

Post on 07-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Using Universal Windows Platform and Azure to Build Connected Solutions

Daniel JacobsonProgram Manager,

Microsoft Visual Studio@pmatmic

Windows 10 and UWP

Page 2: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

A Brief History of .NET

.NET Windows Desktop

Windows Store

Windows Phone

ASP.NET 4

ASP.NET 5

.NET today

Page 3: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

.NET today—app models and libraries

.NET today—reusing code

Page 4: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

.NET tomorrow

.NET tomorrow—reusing code

Page 5: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Page 6: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

What about delivery?

.NET Native

60% faster startup

Xbox dashboard ~300ms startup times

“Saved us 3 months of performance work”

Page 7: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

.NET Native Workflow

File > New > C#/VB > Windows Universal

Edit-Build-Run loopDebug | x86 | Local Machine

Project > Store > Create and Publish Appxupload

Test on target devicesTest Release build (.NET Native)…

Page 8: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Questions To Be Answered•

App Design

IoT Device

Entry Event is  Triggered

Client App (Data 

Visualization)

App is Launched

Exit Event is Triggered

“Post” message sent

Azure Web App“Post” 

response

Push Notification is 

sent

Data refresh is  triggered

“Get” message is sent

Azure Web App“Get” response

List of Events is  Returned

UI Is Updated

Azure hosted DocDB

Write to DocDB

Read from DocDB

Page 9: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Sensor Map

Sensor Map

true

Page 10: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Sensor Map

true

Sensor Map

falsefalse

Page 11: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

App Design

IoT Device

Entry Event is  Triggered

Client App (Data 

Visualization)

App is Launched

Exit Event is Triggered

“Post” message sent

Azure Web App“Post” 

response

Push Notification is 

sent

Data refresh is  triggered

“Get” message is sent

Azure Web App“Get” response

List of Events is  Returned

UI Is Updated

Azure hosted DocDB

Write to DocDB

Read from DocDB

Page 12: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Page 13: Windows 10 and UWP€¦ · A Brief History of .NET.NET Windows Desktop Windows Store Windows Phone ASP.NET 4 ASP.NET 5.NET today. Visual Studio Live! Redmond 2016 W20 ‐Using Universal

Visual Studio Live! Redmond 2016

W20 ‐ Using Universal Windows Platform and Azure to Build Connected Solutions ‐ Daniel Jacobson 

Using Universal Windows Platform and Azure to Build Connected Solutions

Daniel JacobsonProgram Manager,

Microsoft Visual Studio@pmatmic