html black box 10 2 1 manage device capabilitie s 3 manage service capabiliti es 4 edit code 5 edit...

21

Upload: osborn-singleton

Post on 24-Dec-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose
Page 2: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Multi-device apps withVisual Studio tooling for Apache Cordova™Amanda Silver

DEV-B323

Page 3: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Cloud Scenarios for Enterprise DevelopersDev & Test

in the Cloud

Mobile AppsIn the Cloud

Hybrid Apps

Web SitesIn the Cloud

Page 4: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Native - Rich

Desktop reassurance

• WPF core investments• Access to modern features• Common distribution• Easier transition to Store apps

Native and web investments

Web - Reach

Modern web

• Productive HTML5 development

• Highly interactive web with JavaScript and TypeScript.

• Ready for Enterprise LOB apps and cloud modernization

Optimize for devices

• Universal apps and native compilation

• Cross-device Windows, iOS, Android native apps (thru Xamarin)

Embrace hybrid apps

• Cordova tooling support built on existing Modern Web support in

Visual Studio and TypeScript.• Android, iOS support including

the entire developer flow.

HTML

Page 5: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Productivity of Visual Studio for hybrid apps

Scale to complex Enterprise apps through optional TypeScript support

End-to-end development workflow included

Flexibility to use any JavaScript framework

Visual Studio tools for Apache Cordova™

Hybrid-HTML apps

New Cordova tooling in Visual Studio

Natural path for web developers targeting devices

Shortest path for cross-platform mobile

Especially relevant for Enterprise B2E scenarios

Black Box

CSS | HTMLJavaScript | TypeScript

Page 6: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

What it does…

What it doesn’t do…

End to End Workflow for Hybrid Mobile App

Value Prop

Value Prop

What it does…

What it doesn’t do…

Black Box10

21 Manage Device

Capabilities 3Manage

ServiceCapabili

ties 4Edit Code 5Edit

& Style

UI 6Build & Run 7Debug &

Diagnose 8CI &Cloud Build 9 Publish &

ManageTest on Device

s

Highly iterative, not sequential

Create Project

Adding new features, platforms, capabilities pushes backwards

Page 7: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Demo

Hybrid cross-platform mobile development• Tools for Apache Cordova™ in Visual Studio

Page 8: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 0

Acquisition

Installs

Step-by-step Guide

OSS pre-reqs (Ant, Android SDK, Git, node.js, etc.)

Visual Studio Extension

Visual Studio Update (debugging)

Details each step of configuration for your development machine including gotchas

Black Box

Page 9: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 1

Create New

Templates

Notes

JavaScript & TypeScript

Blank templates

AngularJS

Backbone + Underscore + jQuery

WinJS (base.js + ui.js)

Black Box

Samples

Page 10: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 2Manage Device Capabilities

Config EditorSimilar to Windows App Manifest with cross-platform capabilities included as part of Cordova

Can manually update plug-in versions via XML or pull custom plugins from plugins.cordova.io

Locks to version dependencies to avoid breaks

Also supports ability to add local custom native plug-ins

Black Box

Page 11: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

What it does…

What it doesn’t do…

Connecting your app with Services

It’s easier than ever to build applications that use Microsoft services. Add a

service to your app in

Visual Studio

Configure your service

settings

Write code to use the

service

Azure Active Directory

AuthenticationOffice 365 Exchange &

Files

Azure Mobile Services

Auth, Data, & PushApplication

Insights Analytics

Step 3

Page 12: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 6

Build & Run

BuildUses Cordova CLI

Custom build process to optimize for iterative loop

Launch remote build agent

Initiate deployment to iOS simulator

Remote build to in-network OSX

Page 13: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 7

Debug & Diagnose

Same great Visual Studio debug experienceBreakpoints, DOM Inspection, Just-my-code

Call-stacks, Locals, Watch

TypeScript Source Mapping

Debug against Simulator, Emulator, Device targets

(Windows & Android 4.4+ for best experience)

Black Box

But now with additional targets

Page 14: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Step 10

Publish & Manage

Deploy via Windows Intune

Black Box

Manage distribution & version updates

Built in data points optimized for mobile apps

Support for custom events

Monitor via Application Insights

Deploy Via iTunes for local iOS device

Page 15: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Download the Preview

Build & Test for the breadth of devices

Deploy your app via Windows Intune

Monitor with Applications Insights

Breathe

Come on, bring your own device!We can handle it.

Page 16: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Breakout Sessions

Related content

Find Me Later At. . . “the Booth”

FDN-05 – The Microsoft Application Platform for Developers: Create Applications that Span Devices and Services

DEVB310 – Getting Started with TypeScript

DevB333 – Sharing Code and UI with Universal Projects and Windows Library for JavaScript (WinJS)

DevB221 – Native Mobile Application Development for iOS, Android, and Windows in C# and Visual Studio

DEVB420 – Building Rich Apps with AngularJS on ASP.NET

2:15 – 4:00 TODAY!

Developer Platform and Tools

Page 17: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.

MSDN Subscribers get up to $150/mo in Azure credits.

Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!

http://aka.ms/msdn_teched

3 Steps to New Gear! With Application Insights

1. Create a Visual Studio Online account http://visualstudio.com

2. Install Application Insights Tools for Visual Studio Online http://aka.ms/aivsix

3. Come to our booth for a t-shirt and a chance to win!

VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!

Page 18: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

ResourcesMicrosoft Engineering Stories

How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories

Visual Studio Industry Partner Program

Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com

Visual Studio | Integrate

Create Your Own Dev Environmenthttp://integrate.visualstudio.com

Development tools & services for teams of all sizeshttp://www.visualstudio.com

Page 19: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Complete an evaluation and enter to win!

Page 20: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

Evaluate this session

Scan this QR code to evaluate this session.

Page 21: HTML Black Box 10 2 1 Manage Device Capabilitie s 3 Manage Service Capabiliti es 4 Edit Code 5 Edit & Style UI 6 Build & Run 7 Debug & Diagnose

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.