Getting Started with the Microsoft Azure SDK for ASP.NET Developers

32
park the future. May 4 – 8, 2015 Chicago, IL

Transcript of Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Page 1: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Spark the future.May 4 – 8, 2015

Chicago, IL

Page 2: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Getting Started with the Azure SDK 2.6 for ASP.NET DevelopersPaul YuknewiczGroup Program Manger, [email protected]

BRK2710

Page 3: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

AgendaOverviewGetting StartedDiagnostics & PreventionLifecycleLoads of Demos!Summary

Page 4: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Overview

Page 5: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Enable and accelerate building cloud appsCustomer driven - http://aka.ms/sdkfeedbackShip often - tools, command-line, libraries, emulators, ALM tools; side-by-side installNET SDK: two shipping versions of VS (2012, 2013) and pre-release too (2015 RC); PowerShellJava SDK: Eclipse and IntelliJ plugins; CLI tools for Linux/Mac/WindowsNode.js, Python, and Ruby SDKs

Azure SDK Design Goals

Page 6: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Available for download – Web Platform Installer

Azure SDK 2.6

Also, http://azure.microsoft.com/en-us/downloads/

Page 7: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Part of Azure subscriptions Visual Studio 2013 Community and Visual Studio 2015 RC Includes SDK 2.6

MSDN subscribers also get Visual Studio 2013 Professional and Ultimate (depends on subscription) Windows client images for Win7/Win8.1 Up to $150 USD in Azure credits to use here

Try it now Current portal: Visual Studio New portal: VM Marketplace, Developer

Visual Studio and Azure SDK Developer Images in Azure

Page 8: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

App Service Scalable Web App, Mobile App, API App, and Logic App for any device

Cloud Service Highly available, scalable n-tier cloud apps More control over OS software customization

Service Fabric Next generation highly scalable, reliable, easily managed apps

composed of micro services Virtual Machines

Custom Windows and Linux virtual machines Most control over OS and software Azure Resource Manager (ARM) templates

Web & Cloud Compute Services in Azure

Page 9: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Storage Blob, Table, and Queue services

SQL Managed relational database-as-a-service Also available on Virtual Machines

DocDB Managed NoSQL database-as-a-service

Azure Active Directory Media and CDN Analytics and many more..

Foundational Services

Page 10: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Getting Started

Page 11: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Demo

Getting Started

Page 12: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Scripting Web Package and DeployMsbuild /t:package /p:packagelocation=\\ourserver\drops\

.\Publish-WebApplicationWebSite.ps1 ` -Configuration .\Configurations\WebApplication1-WAWS-dev.json ` -WebDeployPackage \\ourserver\drops\webapplication1.zip ` -Verbose

Notes:• MSBuild must be in the path• Publish-Web PowerShell script included in default Web

projects• Switch environment configs via multiple JSON files• Before using PowerShell SDK, run ‘Add-AzureAccount’

and ‘Select-AzureSubscription’

Page 13: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Demo

Connecting to services

Page 14: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Quickly add Azure and other services to your cloud applications

RC adds a new App Insights provider SDK available for anyone to build a

provider

Connected Services

Page 15: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Integrated offering for building intelligent web and mobile appso Web Apps – build web appso Mobile Apps – build mobile apps for any deviceo Logic Apps – automate processes with durable cloud-based

workflowso API Apps – build cloud APIs for Web/Mobile/Logic Apps to

consume Scale as your business grows Connectors to common SaaS systems

Azure App Service

Page 16: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Demo

App Services – Consuming API Apps

Page 17: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

DevOps

Page 18: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Demo

DevOps tools: Azure Resource Manager, PowerShell, and Docker

Page 19: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Many additional templates availableo New Virtual Machine, Networking and Storage resourceso App Service resources (Web Apps, Mobile Apps, Logic Apps,

API Apps)o Scenario based: SharePoint, DataStax, marketplace..o Online Gallery – Open in Github, Launch, Discover VS

View ARM resources & parameters in JSON Outline

Simplified Add Resource experience Lifecycle scripts

Azure Resource Manager Tools

Page 20: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Extension on the VS Gallery created by Adam Driscoll (PowerShell MVP)

MS Azure Tools team contributed to improve editing & debugging for Web & Cloudo Better colorization & IntelliSenseo REPLo Remote execution & debuggingo 64-bit/DSC

Linked via Visual Studio 2015 RC

PowerShell editing

Page 21: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Extension on the VS Gallery to create, package and deploy Docker containers for Web & Console apps

Eliminates “drift” of application environments

Fast load times and high density It’s really using Docker: Docker client &

Docker daemon on VM Currently support Linux containers, Windows

support coming soono Developers will use the same Docker client and commands to run on

Linux or Windows

Docker tooling

Page 22: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Diagnostics & Prevention

Page 23: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Demo

Diagnostics & ELK

Page 24: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

App Insights for health and monitoring in portal

Logs Streaming Logs Remote Debugging in

Visual Studio Diagnostic actions

available from within VS Server Explorer Configure Web Site to enable logs and traces in VS

or Portal Use System.Diagnostics.TraceInformation(“info”)

and TraceError(“error info”) in your ASP.NET app

WebApp (WebSite) Diagnostics

Page 25: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Diagnose issues in the cloud using events/logs/infrastructure/ETW

Diagnostics supported in the emulator Export Azure storage tables to CSV Improved diagnostics summary viewer

o Auto refresh capabilityo Improved readability of events

Azure Diagnostics

Page 26: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

View and search diagnostics logs at scale (VMs, Cloud Services)

Builds on best OSS solution: ElasticSearch, LogStash, Kibana

Customize and extend High-throughput agent option Self-host the cluster in your own

VM/subscription

ELK GitHub Project

Page 27: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Identify and prevent top challenges or “anti-patterns” preventing ideal cloud availability/scale

View guidance or “fix it” from VS lightbulb

Add “Analyzer” NuGet per application/project:

Microsoft Code Analysis for Azure Pre-release 0.4.0-beta

PM> Install-Package Microsoft.VisualStudio.Azure.CodeAnalysis -Pre

Azure Code Analysis (VS 2015)

Page 28: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Summary

Page 29: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

ResourcesGet the Azure SDK - http://azure.microsoft.com/en-us/downloads/ Give us feedback - http://aka.ms/sdkfeedback App Service video - http://azure.microsoft.com/en-us/campaigns/azure-march-announcement/Scripts to create ELK cluster - http://aka.ms/azurediagnosticselkJSON resource templates - http://azure.microsoft.com/en-us/documentation/templates/PowerShell tools - http://aka.ms/Get-POSHToolsDocker tools - http://aka.ms/vslovesdockerAzure Service Fabric tools – http://aka.ms/servicefabric

Page 30: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

FREE UPGRADE to Visual Studio Enterprise with MSDNLearn more about this offer: http://aka.ms/nbtbvs

Learn more about Visual Studio 2015 at our in-person or online events: http://aka.ms/nbtbevents

There’s no better time than now to get ready for the release of Visual Studio 2015!

For a limited time, get a free upgrade to Visual Studio Enterprise with MSDN

Page 31: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above.

Please evaluate this sessionYour feedback is important to us!

Page 32: Getting Started with the Microsoft Azure SDK for ASP.NET Developers

© 2015 Microsoft Corporation. All rights reserved.