Introduction to Building Applications with Windows Azure 12/9/2018 6:10 PM PDC09-SVC37 Introduction to Building Applications with Windows Azure David Lemphers Senior Program Manager, Windows Azure Microsoft Corporation © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Overview Windows Azure for Application Developers Building an Application from Scratch in Visual Studio 2010 B2 Review Application Wrap Up
Session Objectives Understand the major parts of Windows Azure Experience building an application with Windows Azure Leave feeling confident that you can build your own applications with Windows Azure
Windows Azure for Application Developers SDK Portal Hosted Service Storage Develop Deploy Run
Roles Role Code Configuration
Load Balanced Instances Role Instance 1 http://yourapp.cloudapp.net Instance 2
Web vs Worker Role Web Role Worker Role IIS Host System Host Your Code
Storage Storage Queue Blob Account Tables
Blobs Containers Blobs Photo1.png Photo2.png Pictures Photo3.png
Queues Queues Messages “Body1” “Body2” ThumbnailJobs “Body3”
Development Fabric and Storage Local Machine Windows Azure Simulation Environment Development Fabric Development Storage
Portal
Overview Hello Cloud
Hello Cloud Web Role Worker Role Queue Blob
Web Role Hello Cloud
Hello Cloud – Web Role Web Role
What We’re Going To Code
What We’re Going To Code Step 1 - Create a Cloud Service project with a Web Role Step 2 - Write our code and test it locally Step 3 – Deploy to the Cloud
Web Role Demo
Portal – Allocated
Portal - Run
Portal - Initializing
Portal - Busy
Portal - Ready
Here’s One I Deployed Earlier http://helloclouddavidlem.cloudapp.net/
Blob and Queue Hello Cloud
Hello Cloud – Blobs and Queues Web Role Enqueue Message Queue Upload Blob Blob
What We’re Going To Code Step 1 – Configure a Storage Account Step 2 – Upload a Blob Step 3 – Enqueue a Message
Blob + Queue demo
Worker Role Hello Cloud
Hello Cloud – Worker Role Dequeue Message Queue Update Blob Blob
What We’re Going To Code Step 1 – Add a Worker Role Step 2 – Dequeue Next Message Step 3 – Update the Blob referenced in the message Step 4 – Delete Message from Queue
Worker Role demo
Recap Hello Cloud
Hello Cloud Web Role Worker Role Queue Blob
New Project
Add a Role
Write Some Code
Run and Debug Locally (Hit F5)
Deploy to the Cloud
Create Your Accounts
Deploy Your Service
And You’re Running
Summary Same Development Tools and Experience Local and Cloud Based Environments Rapid Cloud Development, Deployment and Maintenance
Other Sessions to Attend Windows Azure Present and Future – 11/17 (2:30 PM) Building Java Applications with Windows Azure – 11/17 ( 3:00 PM) Developing PHP and MySQL Applications with Windows Azure – 11/17 (4:30 PM) Windows Azure Monitoring, Logging, and Management APIs – 11/18 (11:00 AM) Windows Azure Tables and Queues Deep Dive – 11/18 (3:00 PM) Storing and Manipulating Blobs and Files with Windows Azure Storage – 11/18 (4:30 PM) Automating the Application Lifecycle with Windows Azure – 11/19 (10:00 AM)
Questions?
12/9/2018 6:10 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
12/9/2018 6:10 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.