introduction to building applications with windows azure

49
Introduction to Building Applications with Windows Azure David Lemphers Senior Program Manager, Windows Azure Microsoft Corporation PDC09-SVC37

Upload: sagira

Post on 15-Feb-2016

61 views

Category:

Documents


0 download

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Building Applications with Windows Azure

Introduction to Building Applications with Windows AzureDavid LemphersSenior Program Manager, Windows AzureMicrosoft Corporation

PDC09-SVC37

Page 2: Introduction to Building Applications with Windows Azure

Overview> Windows Azure for Application

Developers> Building an Application from Scratch

in Visual Studio 2010 B2> Review Application> Wrap Up

Page 3: Introduction to Building Applications with Windows Azure

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

Page 4: Introduction to Building Applications with Windows Azure

Windows Azure for Application Developers

Portal HostedService

Storage

SDK

Develop Deploy Run

Page 5: Introduction to Building Applications with Windows Azure

Roles

Role

Code Configuration

Page 6: Introduction to Building Applications with Windows Azure

Load Balanced InstancesRole

Instance 1

Instance 2

http://yourapp.cloudapp.net

Page 7: Introduction to Building Applications with Windows Azure

Web vs Worker Role

Web Role

IIS Host

Your Code

Worker RoleSystem Host

Your Code

Page 8: Introduction to Building Applications with Windows Azure

StorageStorage

Account

Queue

Blob

Tables

Page 9: Introduction to Building Applications with Windows Azure

BlobsContainers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 10: Introduction to Building Applications with Windows Azure

QueuesQueues

ThumbnailJobs

“Body1”

Messages

“Body3”

“Body2”

Page 11: Introduction to Building Applications with Windows Azure

Development Fabric and StorageLocal Machine

Windows Azure Simulation Environment

Development Fabric

Development Storage

Page 12: Introduction to Building Applications with Windows Azure

Portal

Page 13: Introduction to Building Applications with Windows Azure

Overview

Hello Cloud

Page 14: Introduction to Building Applications with Windows Azure

Hello Cloud

Web Role Worker Role

Blob

Queue

Page 15: Introduction to Building Applications with Windows Azure

Web Role

Hello Cloud

Page 16: Introduction to Building Applications with Windows Azure

Hello Cloud – Web Role

Web Role

Page 17: Introduction to Building Applications with Windows Azure

What We’re Going To Code

Page 18: Introduction to Building Applications with Windows Azure

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

Page 19: Introduction to Building Applications with Windows Azure

Web Role

Demo

Page 20: Introduction to Building Applications with Windows Azure

Portal – Allocated

Page 21: Introduction to Building Applications with Windows Azure

Portal - Run

Page 22: Introduction to Building Applications with Windows Azure

Portal - Initializing

Page 23: Introduction to Building Applications with Windows Azure

Portal - Busy

Page 24: Introduction to Building Applications with Windows Azure

Portal - Ready

Page 25: Introduction to Building Applications with Windows Azure

Here’s One I Deployed Earlier> http://helloclouddavidlem.cloudapp.ne

t/

Page 26: Introduction to Building Applications with Windows Azure

Blob and Queue

Hello Cloud

Page 27: Introduction to Building Applications with Windows Azure

Hello Cloud – Blobs and QueuesWeb Role

Blob

Queue

Enqueue Message

Upload Blob

Page 28: Introduction to Building Applications with Windows Azure

What We’re Going To Code> Step 1 – Configure a Storage Account> Step 2 – Upload a Blob> Step 3 – Enqueue a Message

Page 29: Introduction to Building Applications with Windows Azure

Blob + Queue

demo

Page 30: Introduction to Building Applications with Windows Azure

Worker Role

Hello Cloud

Page 31: Introduction to Building Applications with Windows Azure

Hello Cloud – Worker Role

Worker Role

Blob

Queue

Dequeue Message

Update Blob

Page 32: Introduction to Building Applications with Windows Azure

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

Page 33: Introduction to Building Applications with Windows Azure

Worker Role

demo

Page 34: Introduction to Building Applications with Windows Azure

Recap

Hello Cloud

Page 35: Introduction to Building Applications with Windows Azure

Hello Cloud

Web Role Worker Role

Blob

Queue

Page 36: Introduction to Building Applications with Windows Azure

New Project

Page 37: Introduction to Building Applications with Windows Azure

Add a Role

Page 38: Introduction to Building Applications with Windows Azure

Write Some Code

Page 39: Introduction to Building Applications with Windows Azure

Run and Debug Locally (Hit F5)

Page 40: Introduction to Building Applications with Windows Azure

Deploy to the Cloud

Page 41: Introduction to Building Applications with Windows Azure

Create Your Accounts

Page 42: Introduction to Building Applications with Windows Azure

Deploy Your Service

Page 43: Introduction to Building Applications with Windows Azure

And You’re Running

Page 44: Introduction to Building Applications with Windows Azure

Summary> Same Development Tools and

Experience> Local and Cloud Based Environments> Rapid Cloud Development,

Deployment and Maintenance

Page 45: Introduction to Building Applications with Windows Azure

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)

Page 46: Introduction to Building Applications with Windows Azure
Page 47: Introduction to Building Applications with Windows Azure

> Questions?

Page 48: Introduction to Building Applications with Windows Azure

© 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.

Page 49: Introduction to Building Applications with Windows Azure