thermocloud site monaco services iis node, php, etc. site extension r/w access runs

25

Upload: marjory-cobb

Post on 24-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs
Page 2: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Chris DiasPrincipal Program ManagerBuilding Azure Websites with Visual Studio Online “Monaco”

Building Azure Websites with Visual Studio Online “Monaco”

2-646

Page 3: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs
Page 4: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs
Page 5: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Lightweight, friction freeCompanion to VS IDE, accessible from modern browsers on any device, on any platform

Optimized for AzureBuild, maintain, and run Websites directly in Azure

Rich editing experiencesFast, fluid code editing, navigation, and understanding in the browser, without the feel of a browser

Support for today’s frameworks and languagesHTML5 and JavaScript (including TypeScript), Node , PHP, ASP.NET sites, and apps

Monaco

Page 6: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Monaco service available as site extension on every Azure site

Access gated by site configuration option and deployment credentials

Tools access via the “.scm” endpoint, live edit wwwroot

Runs as peer to Azure deployment services (“Kudu”)

ArchitectureThermoCloud site

MonacoServices

IISNode,PHP, etc.

Site Extension

wwwroot

r/waccess

runs

https://thermocloud.scm.azurewebsites.net/dev

http://thermocloud.azurewebsites.net

Azure SCC Deploy

Site Extensionwrites

https://thermocloud.scm.azurewebsites.net/thermocloud.git

Page 7: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

A word of caution!

If ‘deployment from source control’ is enabled, this can overwrite any changes made in the editor…

Page 8: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Integrated Git supportConnect to any public or private Git repositoryGit viewlet, streamlined Git UI experiences, full command line control

For quick updates to live sitesChanges are automatically saved to the site (in wwwroot!)Ideal for quickly getting started, simple, static sites (e.g., WordPress, HTML/JavaScript)Not recommended for sites that require transform on deployment

For in-depth modificationsUpload or clone sources into a provisional development siteMake modifications, build, test, run in the development sitePush to production: git endpoint, staging, or production site

Source code management

Page 9: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Demo: New Azure website from gallery

Production Sitehttp://mysite.azurewebsites.netMonaco: EnabledDeploy via SCC: Disabled

Page 10: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Create a provisional development site

Clone from git repository

Develop, build, test in development site

Push…Directly to productionStaging site first, hot swap with productionGit repository linked to staging or productionContinuous build, test, and deploy

Source code management best practices

Page 11: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

git

git

Dev git

git

clonepush

Production sitemysite.azurewebsites.netMonaco: DisabledDeployment from SCC: Local Git Repo

Development sitemysite-dev.azurewebsites.netMonaco: EnabledDeployment from SCC: Disabled

myproject.visualstudio.comremote: origin

Kudu

Companion development site

Page 12: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

git

git

Dev git

git

clonepush

Production sitemysite.azurewebsites.netMonaco: DisabledDeployment from SCC: Local Git Repo

Development sitemysite-dev.azurewebsites.netMonaco: EnabledDeployment from SCC: Disabled

push

myproject.visualstudio.comremote: origin

Kudu

Push to production from development

Page 13: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Kudu

git

git

Dev git

git

myproject.visualstudio.comremote: origin

clonepush

Production sitemysite.azurewebsites.netMonaco: DisabledDeployment from SCC: VSOnline, GitHub, etc.

Development sitemysite-dev.azurewebsites.netMonaco: EnabledDeployment from SCC: Disabled

Linked Branch

Pushing to origin will result in a pull to production

Deploy from linked repo to production

Page 14: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Deploy from linked repo to staging

git

git

Dev git

git

myproject.visualstudio.comremote: origin

clonepush

Staging sitemysite.azurewebsites.net (staging)Monaco: DisabledDeployment from SCC: VSOnline, GitHub, etc.

Development sitemysite-dev.azurewebsites.netMonaco: EnabledDeployment from SCC: Disabled

Linked Branch

Deploy to staging site lets you hot swap to production

Kudu

Page 15: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

git

git

Dev git

gitclonepush

Production or staging sitemysite.azurewebsites.netMonaco: DisabledDeployment from SCC: VS Online

Development sitemysite-dev.azurewebsites.netMonaco: EnabledDeployment from SCC: Disabled

Pushing to origin triggers a VSO build, test, and deployto staging or production

remote: originmyproject.visualstudio.com

VS online build, test

Kudu

Continuous deployment

Page 16: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Language Experiences

Level Experiences Languages

BasicSmart editing with coloring, bracket matching, auto indent, textual completion

C#, VB, Razor, Markdown, Handlebars, HTML, XML, INI, Batch, Jade, CoffeeScript

GoodError checking as you type, IntelliSense, go to definition, outline, rename symbol

JavaScript, JSON, CSS, LESS, SASS, PHP

Great Reference searching across files TypeScript

Page 17: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Demo: Building node applications

Page 18: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Demo: Building ASP.NET web apps

Page 19: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Not Done

Page 20: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Azure Dashboard will warn when approaching quota limits.

Scale development site if performing CPU and memory intensive tasks.

Avoiding out of quota

Page 21: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Tips and tricks

Find in folders Multiple cursors

Ctrl+click to open to side

Editor commands

Quick openCtrl+arrow to cycle values

Ctrl+hover preview Select for compare

User, team settingsStage selected changes

Page 22: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

LearnGet started with the Monaco Channel9 SeriesKeep informed on the Monaco Blog

DoEnable “Edit in Visual Studio Online” for your Dev sitesClone in code from Git repos on visualstudio.comDevelop, build, test, and push to production

TalkSend a Smile!@visualstudio #monaco

Resources

Page 23: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Your Feedback is Important

Fill out an evaluation of this session and help shape future events.

Scan the QR code to evaluate this session on your mobile device.

You’ll also be entered into a daily prize drawing!

Page 24: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

Thank You!

Page 25: ThermoCloud site Monaco Services IIS Node, PHP, etc. Site Extension  r/w access runs

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.