available via nuget independently, major revisions infrequent and with minimal breaking changes,...

20

Upload: david-sutton

Post on 27-Dec-2015

223 views

Category:

Documents


0 download

TRANSCRIPT

Automating Microsoft Azurewith the Management Libraries for .NETBrady Gaster

DEV-B383

AgendaAn Introduction to the Management LibrariesDesign Philosophy, Open Source Availability, NuGet Convenience, SemVer VersioningGetting Started with File New Project to a New Virtual Machine in 5 Steps

Automating Integration Testing using MAMLCreating a test base to scaffold an environment that lives only during test runsCreate web sites, storage accounts, and databases for during-the-test environments

Software-as-a-Service with MAMLUsing certificate authentication for server-side authentication to the Azure Service Management APICollecting user-provided data for on-the-fly web site creation and per-customer configuration

SQL and Data Backups with MAMLUsing the SQL Management Client to create and configure SQL databasesUsing Azure Storage and SQL Database management clients together to backup databases

Management LibrariesThe SDK and MAML stack and what you can expect in each layerSDK Common Framework

PackagingManagement Layer

Available via NuGet independently, major revisions infrequent and with minimal breaking changes, sole dependency for each MAML library.

Contains HTTP, authorization context, & cloud context abstractions

Implemented as Portable Class Library (PCL) so any PCL-compliant platform is supported.

Completely open source

Each platform (Windows Phone, Windows Desktop, Windows Store Apps, and Silverlight) is tied to the SDK common via a NuGet-installed wrapper

Platform-specific support for cloud credential implementations, such as AAD Token or X509 Certificate-based implementations

Completely open source

Each Azure resource type (Web Sites, Compute, SQL, Storage, etc.) is represented by an individual management client and NuGet package.

No interdependencies, and partner teams are enabled to ship at their own cadence.

Completely open source, though parts of each operation are generated by a tool we’re planning to release with an open source license later in 2014

Installing the Management Libraries

Install-Package Microsoft.WindowsAzure.Management.Libraries

Install everything in WAML via NuGet

Install-Package Microsoft.WindowsAzure.Management.WebSites

Install-Package Microsoft.WindowsAzure.Management.Storage

Or install only what you need

Demo

Installing the Management Libraries

I want to automate the deployment of a Cloud Service PaaS solution

Demo

Dynamically deploy a Worker Role

Why pay for an always-on testing environment when you can create it for each test run?

Demo

Integration Testing with the Microsoft Azure Management Libraries

If you were running a SaaS provider would you want to have to manually create each instance for customers?

Demo

Enabling SaaS Applications using the Management Libraries

I have some SQL databases in Azure I need to manage and back up

Demo

Creating and managing SQL servers, firewall rules, databases, and back-ups for Microsoft Azure SQL

Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.

MSDN Subscribers get up to $150/mo in Azure credits.

Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!

http://aka.ms/msdn_teched

3 Steps to New Gear! With Application Insights

1. Create a Visual Studio Online account http://visualstudio.com

2. Install Application Insights Tools for Visual Studio Online http://aka.ms/aivsix

3. Come to our booth for a t-shirt and a chance to win!

VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!

ResourcesMicrosoft Engineering Stories

How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories

Visual Studio Industry Partner Program

Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com

Visual Studio | Integrate

Create Your Own Dev Environmenthttp://integrate.visualstudio.com

Development tools & services for teams of all sizeshttp://www.visualstudio.com

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

msdn

Resources for Developers

http://microsoft.com/msdn

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Complete an evaluation and enter to win!

Evaluate this session

Scan this QR code to evaluate this session.

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