490 likes | 692 Views
PDC09-SVC37. Introduction to Building Applications with Windows Azure. David Lemphers Senior Program Manager, Windows Azure Microsoft Corporation. Overview. Windows Azure for Application Developers Building an Application from Scratch in Visual Studio 2010 B2 Review Application Wrap Up.
E N D
PDC09-SVC37 Introduction to Building Applications with Windows Azure David Lemphers Senior Program Manager, Windows Azure Microsoft Corporation
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 Hosted Service Portal SDK Storage Develop Run Deploy
Roles Role Code Configuration
Load Balanced Instances Role Instance 1 http://yourapp.cloudapp.net Instance 2
Web vs Worker Role Worker Role Web Role System Host IIS Host Your Code Your Code
Storage Storage Queue Blob Account Tables
Blobs Blobs Containers Photo1.png Photo2.png Pictures Photo3.png
Queues Messages Queues “Body1” “Body2” ThumbnailJobs “Body3”
Development Fabric and Storage Local Machine Windows Azure Simulation Environment Development Storage Development Fabric
Overview Hello Cloud
Hello Cloud Worker Role Web Role Queue Blob
Web Role Hello Cloud
Hello Cloud – Web Role Web Role
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
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 Worker Role Dequeue Message Queue Update Blob Blob
What We’re Going To Code • Step 1 – Add a Worker Role • Step 2 – DequeueNext Message • Step 3 – Update the Blob referenced in the message • Step 4 – Delete Message from Queue
Worker Role demo
Recap Hello Cloud
Hello Cloud Worker Role Web Role Queue Blob
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)