Development in Azure - Microsoft€™s new in 2.5 SDK Azure Resource Manager Tools (Visual Studio...

34
Development in Azure Dan Gartner Developer Technology Specialist Microsoft

Transcript of Development in Azure - Microsoft€™s new in 2.5 SDK Azure Resource Manager Tools (Visual Studio...

Development in Azure

Dan GartnerDeveloper Technology SpecialistMicrosoft

MSDN Azure Benefits

Visual Studio / Azure Integration

Azure SDK 2.5

Visual Studio Online

Build and Load Test

Application Insights

Continuous Delivery

Each MSDN subscriber gets up to $150

in Azure credits per month.

MSDN discounts guarantee lowest cost

for additional dev and test capacity.

Up to 33% off dev and test workloads on Microsoft Azure

No charge for MSDN software installed

on Microsoft Azure for dev and test.

MSDN Azure credits Cloud discountsFree software

Microsoft developer platform and tools

Azure SDK

Great Visual Studio integration

VS Integration

7

Azure Developer Tools

Azure 2.5 SDK & VS 2013 Update 4 Released on November 12th

2014Azure 2.5 SDK is available for VS2012, VS2013 and VS2015 Preview

8

What’s new in 2.5 SDK

Azure Resource Manager Tools (Visual Studio 2013 and 2015) – The Azure Resource Manager tools enable you to create an application using the Azure Marketplace templates in a new project type called a Cloud Deployment Project. You can create and edit the Azure Resource Manager deployment template (to declaratively describe an Azure Website and SQL database, for example) and parameter files in the Cloud Deployment Project. The parameter file makes it easy to use the same template to spin up multiple instances of the resources in development, testing, and production environments. Use the tools to create resource groups and deploy templates to simplify creation of resources.

Folders in Storage Explorer (Visual Studio 2013 and 2015) - You can now view and create folders in your blob storage through Visual Studio’s Storage Explorer.

Connect to data more easily in Mobile Services (Visual Studio 2013 and 2015) – In a .NET backend mobile service, you can now specify additional database connections that your service requires whenever you publish your mobile service. To add access to an existing database, specify the connection string when you use the Publish Web dialog.

Manage WebJobs from Server Explorer and debug WebJobs remotely in Azure (Visual Studio 2013 and 2015) – The WebJobs feature enables you to run any program or script on VMs managed by Azure Websites. WebJobs are now represented as nodes in the Visual Studio Server Explorer. From the WebJobs node, link directly to the Dashboard to see how your WebJobs are running, start and stop continuous jobs, and run on-demand or scheduled jobs. Remote debugging of continuous WebJobs is also enabled. See Remote debugging WebJobs for more information.

HDInsight Tools for Visual Studio (Visual Studio 2013 and 2015) – The Azure SDK version 2.5 release adds HDInsight Tools for Visual Studio. Use these new tools in Server Explorer to navigate Hive databases and linked storage accounts for HDInsight clusters, create tables, and create and submit Hive queries. See Get started using HDInsightHadoop Tools for Visual Studio for more information.

Add Connected Services (Visual Studio 2015) - Use the Add Connected Service dialog box to connect easily to cloud-based services like Azure Storage and Azure Mobile Services. Add project references, insert connection strings, and get introductory guidance on consuming the services.

Sign-in and view resources for multiple Azure accounts (Visual Studio 2015) - Visual Studio 2015 Preview enables you to be signed in simultaneously with multiple Azure accounts. View and manage Azure resources associated with those accounts in Server Explorer.

Environments hub in Team Explorer (Visual Studio 2015) – The new Environments hub in Team Explorer helps teams manage Azure environments and share these environments with other team members. Developers can deploy applications to Azure environments from a Cloud Deployment Project, and view resources, logs, and activities related to their environments. See Announcing DevOps style deployments using Visual Studio 2015 Preview and Azure for more information.

Azure WebsitesSite creation

Language Support

Deployment

Source Control Integration

Scale

Web Jobs

Site Slots

Traffic Manager

Backup

Hybrid Connections

Redis Cache

Visual Studio Online

Work

Build Test

Deploy

InsightsCode

Visual Studio Online

Getting started

Use the web interface to create a new team project

with a choice of TFVC or Git source control.

Manage a project team’s users by assigning access

to individuals or through groups.

Use the web interface to explore source code, work

items, builds, and tests, all without needing to use

anything but a modern browser.

Start coding by connecting with Visual Studio IDE.

Take advantage of deep integration to all ALM, load

testing, and Application Insights capabilities.

Source control

Team projects can be configured to use either Git or

TFVC source control, with both options fully

integrated into other capabilities such as work items

and builds.

With Git, use the tools of your choice including

command-line, Visual Studio, or third-party options.

Explore source code using web-based interface, view

any code file, and download parts or full source

code branches.

Collaborate with other developers on your team by

adding/viewing web-based comments on source

code.

Collaborate

Customize your team home page by pinning work

item charts, sprint burndown info, build status, and

more.

Work item charts include a variety of visualizations

including Pie, Bar, Pivot Table, and others.

Collaborate with others in a virtual team room,

discuss a project, or review past team activity such as

check-ins, work item changes, builds, etc.

Testing

Manage test suites, test plans, and individual cases

using any modern browser. Create new tests, or

review the results from those that were already

executed.

Perform manual testing using Microsoft Test

Manager or the web-based test runner feature that

lets you capture manual test results using any

modern browser.

Cloud load testing

FREE: 20,000 virtual user minutes per month

$0.0004 per virtual user minute thereafter

Requires Visual Studio Ultimate 2013

Application Insights

Pricing and offerings TBD

Cloud build

FREE: 60 minutes per month

$0.05 per minute for next 19 hrs

$.01 per minute > 20hrs/mo

Application Insights

Introduction

Application Insights is a new cloud-based service

that collects rich operational, performance, and

customer usage information from server and

client/device applications.

Application monitoring for performance

bottlenecks and availability monitoring for

websites and services (with alerting).

Performance insights for identifying real issues,

with sufficient information to make these data

actionable.

Usage analysis for insights into app usage, user

behavior, etc.

Availability

Use the availability dashboard to review historic

availability data for your endpoint, with drilldowns

for specific time periods or regions.

Configure alerting to notify you of any outages,

using email alerts.

Monitor the availability of any HTTP endpoint by

creating ping tests from one or more regions around

the world.

For more complex monitoring scenarios with

multiple steps, use Visual Studio to record a web test

for Application Insights.

Performance

Performance monitoring gives insight into your web

application health such as what exceptions are being

thrown, what’s running slow, or if any memory leaks

exist.

Review server performance tables and charts that

help you diagnose problems and visualize data over

time.

Drill into the details such as exception data with

IntelliTrace files that can be downloaded and

reviewed using Visual Studio Ultimate.

Usage

Usage analytics supports both websites and

Windows Store apps, with an integrated experience

in Visual Studio.

Use collected usage data such as top visited web

pages or app screens to understand how an app is

used, or go deeper and instrument individual

application features.

Drill into automatically collected data such as user

geography, environment (OS, device, browser, etc.),

language, network, etc.

Visual Studio

Application Insights tooling for Visual Studio enables

developers to easily instrument their Windows Store

apps or websites right from the IDE.

For new projects, Application Insights can easily be

integrated right from the File > New Project dialog,

or added to an existing project using a NuGet

package.

Once configured, Visual Studio projects are linked to

analytics, which enables developers to easily reach

their Application Insights dashboards using a simple

Visual Studio right-click command.

Continuous Delivery

The DevOps cycle2) Code repository

1. Developers

3) Build 4) Test

5. Deploy to cloud

6. Monitor and improve

Contoso app

Azure

Release management

Create a single automated deployment process to

use across all environments.

Trigger deployments to specific environments from

automated builds.

Promote the same bits through the release process,

automatically changing the configuration files for the

different environments.

Quickly enable continuous delivery

Release management

Define the release workflow and its activities for each

of your applications.

Use deployment built-in actions or create your own.

Use built-in actionsor define your own

Define releaseworkflow and activities per environment

Release management

Simple way to request and provide approvals.

The defined approval can start, stop, approve, reject,

restart, retry, abandon, or even reassign releases.

Trigger actionsbased on approvals

Simple wayto request and provide approvals

Continuous integrationwith Azure

Link Azure website to Visual Studio Online repository

(requires login to Visual Studio Online).

Visual Studio Online generates a simple build

template that deploys on check-in to the Azure

website.

Build template can be updated, or customized

through Visual Studio to modify build or deployment

parameters.

A fully hybrid dev and test solution

Summary: Microsoft Azure for dev and test

Infrastructure-as-a-Service

Virtual Machines, Virtual

Networking, SQL Database,

Storage, and more.

Infrastructure services allow development teams to lift and shift all development workloads (team member desktop,

dev/test systems, team collaboration workloads) to the cloud. By using VMs and virtual networking, any level of

infrastructure complexity can be realized. Cloud scale and cloud economics drive down cost and reduce time and effort to

set up dev/test infrastructure.

Platform-as-a-Service

Azure Web Sites, Cloud Services,

SQL Database, Storage, Mobile

Services, and more.

Application building blocks and cloud services allow developers to quickly implement application features without building

from scratch. By assembling cloud services, developers can speed up creation and delivery of custom applications and

increase efficiency. Cloud services allow for quick and easy provisioning of development, test and production environments

for web applications and back-end services from within Visual Studio.

Visual Studio Online—cloud services for developers

Agile project management,

testing, load testing, build, app

insights, and more.

Innovative new cloud services for developers enable teams to scale quickly and easily by extending hardware-intensive

ALM workloads to the cloud and enable new scenarios that are not possible with physical infrastructure. Visual Studio

Online offers a complete set of developer services, accessible from anywhere—anytime.