Upload
gervase-walton
View
237
Download
0
Tags:
Embed Size (px)
Citation preview
Spark the future.
May 4 – 8, 2015Chicago, IL
Getting Started with the Azure SDK 2.6 for ASP.NET DevelopersPaul YuknewiczGroup Program Manger, [email protected]
BRK2710
AgendaOverviewGetting StartedDiagnostics & PreventionLifecycleLoads of Demos!Summary
Overview
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
Available for download – Web Platform Installer
Azure SDK 2.6
Also, http://azure.microsoft.com/en-us/downloads/
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
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
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
Getting Started
Demo
Getting Started
Scripting Web Package and Deploy
Msbuild /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’
Demo
Connecting to services
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
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
Demo
App Services – Consuming API Apps
DevOps
Demo
DevOps tools: Azure Resource Manager, PowerShell, and Docker
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
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
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
Diagnostics & Prevention
Demo
Diagnostics & ELK
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
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
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
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)
Summary
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
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
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!
© 2015 Microsoft Corporation. All rights reserved.