1 / 24

Building and Diagnosing Applications using Visual Studio and Azure SDK

Building and Diagnosing Applications using Visual Studio and Azure SDK. Paul Yuknewicz paulyuk@Microsoft.com Principal PM Manager. Azure SDK and Tools. Azure SDK (2.7) for .NET & VS available http://azure.microsoft.com/downloads/ and WebPI VMs with VS & SDK preinstalled on Azure gallery!

Jims
Download Presentation

Building and Diagnosing Applications using Visual Studio and Azure SDK

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building and Diagnosing Applications using Visual Studio and Azure SDK Paul Yuknewicz paulyuk@Microsoft.com Principal PM Manager

  2. Azure SDK and Tools • Azure SDK (2.7) for .NET & VS available http://azure.microsoft.com/downloads/and WebPI • VMs with VS & SDK preinstalled on Azure gallery! • Also: SDKs for PowerShell, CLI, Java, Node, Python • Works in conjunction with VS Online for DevOps • Standalone storage tools for Windows, Mac and Linux on storageexplorer.com • Tell us what you think http://aka.ms/sdkfeedback

  3. Azure SDK 2.7 • App Service • Cloud Services • Connected Services • Azure Resource Manager (ARM, IaaS VMs) • Azure resource optics via Cloud Explorer • PowerShell editing • Diagnostics for Cloud Services and VMs • Command-line support for PowerShell and CLI • Docker container (preview)

  4. Command Line SDKs • PowerShell • PowerShell cmdlets for automating services management tasks and deployment • Better acquisition through azure.com and PowerShellGet • Improved separation of ASM (v1) and ARM (v2) modes • Piping enhancements • Side-by-side consoles – stateless profiles and persistence • CLI – cross-platform command-line interface • Mac, Linux and Windows CLI for services management tasks and deployment • Greater parity with PowerShell cmdlets • Improved sign in using Microsoft Account, Org Account, 2-factor auth

  5. Store / Marketplace Automation Portal Multi-Factor Authentication Active Directory Key Vault Platform Services Security & Management Hybrid Operations Compute Developer Services App Services Team Project Service Fabric Web Apps API Management Cloud Services API Apps Azure SDK Visual Studio Azure AD Connect Health Remote App Batch Logic Apps Notification Hubs Mobile Apps Application Insights AD Privileged Identity Mngt Integration Analytics & IoT Data Storage Queues Biztalk Services Backup Operational Insights Hybrid Connections Service Bus SQL Database SQL Data Warehouse HDInsight Machine Learning Import/Export Site Recovery Content Delivery Network (CDN) Media Services Redis Cache VM Image Gallery & VM Depot Data Factory Event Hubs Media & CDN Search StorSimple Stream Analytics Mobile Engagement Tables DocumentDB Compute Storage Networking Infrastructure Services DNS Express Route Traffic Manager VPN Gateway Application Gateway Premium Storage Virtual Network Load Balancer Azure Files BLOB Storage Windows Linux Containers

  6. App Services Integrated Offering Web Apps Mobile Apps Web apps that scale with your business Build Mobile apps for any device LOGIC Apps Automate business process across SaaS and on-premises API Apps Easily build and consume APIs in the cloud

  7. Connectors & Extensible API model

  8. App Services Tools • Familiar Web projects and editing • Simplified deployment • AD Sign-in and connected services • Powerful diagnostics, live streaming and remote debugging • CI/CD, Git, and VSO ALM integration

  9. WebJobs • Run programs and scripts in the context of a Web app • Great for small background processes, e.g. processing queues, maintenance, sending emails, … • .NET developers can push console and web projects as WebJobs • Run custom EXE’s and scripts too • Helpful construction and debugging tools public static void Main() { JobHosthost = new JobHost(); host.RunAndBlock(); } public static void ProcessQueueMessage([QueueTrigger("webjobsqueue")] string inputText, [Blob("containername/blobname")]TextWriter writer) { writer.WriteLine(inputText); }

  10. DemoBuilding a Web App and WebJob using App Services and tools

  11. Azure Resource Manager (ARM) • Define a complete cloud topology using infrastructure as code • Azure Resource Manager project provides templates and template editing, snippets, customizable, deployment scripts, and a deployment UI • Many additional templates available • New Virtual Machine, Networking and Storage resources • App Service resources (Web Apps, Mobile Apps, Logic Apps, API Apps) • JSON Outline view for Azure RM deployment templates

  12. PowerShell Editing • Extension on the VS Gallery owned by Adam Driscoll (PowerShell MVP) • Azure tools team is a contributor • Better colorization & IntelliSense • Remote execution & debugging • 64bit and DSC • New templates for PowerShell items

  13. Continuous Delivery and Release Management Team Build • Use VSO for built in delivery of App Services and Cloud Services • Trigger builds from check ins or schedule • Run custom script (e.g. PowerShell, Chef) tasks Release Manager • Orchestrate Build, Test, and Deploy to multiple environments (Dev, QA, Staging, Prod..) • Move and promote complete application (data, config, ..) • Promote builds based on custom criteria • Works with VSO, GitHub, Jenkins and more Come to my next session for an Azure DevOps deep dive!

  14. DemoDeploying a complete application topology

  15. Docker containers (Preview) • Extension on the VS Gallery • Enables better DevOps • Eliminates “drift” of application environments and dependencies • Use the same containers in all your environments • Provision rapidly • Enables high density of containers on single VMs • Leverages standard Docker APIs • Works on Linux and Windows

  16. DemoBuilding APaaS applications using App Services and Web Jobs

  17. Diagnosing your application in development • Diagnose issues in the cloud using events/logs • Dynamic enable/disable using config or commands • Diagnostics supported in the emulator • Export Azure storage tables to CSV • Improved diagnostics summary viewer • Auto refresh capability • Improved readability of events

  18. Diagnosing your production application • View application metrics, errors, and logs in Azure portal -> Health and Monitoring blade • View/Search system & application logs together using ElasticSearch, LogStash, and Kibana [ELK] via Logstash plugin for Azure • http://aka.ms/AzureDiagnosticsElk

  19. Remote debugging • Attach to live instances of App Services, Cloud Services, and IaaS VMs • Recommended for pre-prod

  20. DemoDiagnosing your Azure application

  21. Summary • Tools you need to build and diagnose Azure applications (VS/.NET and cross-platform) • Integrate with DevOps / ALM lifecycle • Try Azure now: MSDN benefit, Free Trial, developer VMs

  22. Resources Visual Studio 2015: http://visualstudio.com Azure SDK Downloads: http://azure.microsoft.com/downloads/ Azure SDK for .NET Dev Center: http://azure.microsoft.com/develop/net/ What’s New for Azure SDK (2.7) Video: https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Azure-27-SDK Azure Blog (developer tag): https://azure.microsoft.com/en-us/blog/topics/developer/

  23. More Resources • Links • 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/azurediagnosticselk • JSON resource templates - http://azure.microsoft.com/en-us/documentation/templates/ • PowerShell tools - http://aka.ms/Get-POSHTools • Docker tools - http://aka.ms/vslovesdocker • Azure Service Fabric tools – http://aka.ms/servicefabric • Connected Services SDK - https://github.com/Microsoft/ConnectedServices

More Related