This document provides an overview of developing applications for the Windows Azure platform. It discusses Windows Azure basics, code walkthroughs of sample applications using ASP pages, WCF services, queues and topics. The key topics covered are Windows Azure architecture and capabilities, developing and deploying .NET applications to the cloud using Visual Studio, and leveraging services like Storage, Service Bus and Cloud Services.
2. Assumptions
• You’re comfortable building .NET apps using
Visual Studio
• You’re relatively new to Windows Azure or
have recently started building Windows Azure
apps
3. Agenda
WHO WILL BENEFIT FROM
TOPICS WHAT YOU’LL LEAVE WITH
THIS TALK
• Cloud application • Windows Azure Basics • Building applications
developers with Windows Azure
• Code Walkthroughs Platform
• Developers building on-
premise .NET and non • ASP page in the cloud • Azure platform
.NET applications capabilities
leveraging cloud services • WCF service in the cloud
• Web and Worker sample
• Service Bus Queues
• Service Bus Topics
• Relay service sample
4. Windows Azure
• Microsoft’s cloud platform
– Applications platform in the cloud that allows
Microsoft datacenters to host and run applications
• Windows Azure is Designed for:
– Incremental Scalability
– Reliability, high availability and fault tolerance
– Developer agility and open standards (HTTP REST)
– Utility based (pay as you go)
– Cost effective based on sharing of resources
– Service Oriented
– SLA driven
6. Windows Azure Development
• Any tools, any languages (VS and .NET common)
• Develop and test locally, publish to cloud
• Applications consist of roles (components)
– Web Role, Worker Role, VM Role
– Run on VMs
– Scaled/upgraded independently
• Flexible storage options
– SQL Azure
– Blobs
– Tables
– Queues
8. Windows Azure Storage
• Abstractions
– Blobs – File system in the cloud
– Tables – Massively scalable structured storage
– Queues – Reliable storage and delivery of messages
– Drives – Durable NTFS volumes for Windows Azure
applications
• Easy client access
– Easy to use REST APIs and Client Libraries
– Existing NTFS APIs for Windows Azure Drives
10. Code Walkthrough - Sample #1
• Publishing a simple ASP page to Azure cloud
– SDK and Tools setup
– Portal sign up
– Creating an ASP.NET WebRole project
– Publishing the web page and accessing from local
Azure Cloud
Web Role
Local Browser Running
ASP Page
11. Code Walkthrough - Sample #2
• Publishing a WCF service in the cloud
– Creating a WCF service WebRole project
– Publishing the service and accessing the service
operations from a local console application
Azure Cloud
Web Role
Running
Local Console App
WCF
Service
12. Code Walkthrough - Sample #3
• Publishing a project with web / worker roles
– Web role hosting a web page
– Worker role hosting a WCF service
– Web to worker communication over TCP
– Local debugging and Dev Fabric
Azure Cloud
Web Worker
TCP Role
Local Browser
Role running
Running WCF
ASP Page Service
15. Brokered Messaging Entities: Queues
Queue
• Durable Queues
• Scheduled messages
• Session based message streams
• Transactions support
• Sequential Message Log
• HTTP / REST / WCF / .NET API support
16. Code Walkthrough - Sample #4
• Service Bus Queues
– Creating namespace
– Importing credentials
– Send / receive messages using Service Bus Queues
from local machine
Azure Cloud
Service Bus
Queue
17. Brokered Messaging Entities: Topics
Sub
Topic Sub
Sub
• Durable topics and subscriptions
• Sequential Message Log
• Multiple subscribers over the log, each with own cur/locks
• Subscribers can filter with rules and expressions on message
properties
• HTTP / REST / WCF / .NET API support
18. Code Walkthrough - Sample #5
• Service Bus Topics
– Creating topics and subscribers
– Send messages to topic and receiving from
multiple subscribers
Azure Cloud
Service Bus
Sub
Topic Sub
Sub
19. Summary
• Windows Azure is a powerful cloud
applications development platform
• Developers can use Visual Studio, .NET
frameworks, Cloud Services, other languages
and frameworks of their choice to build cloud
applications and services
• You can sign up for free trial today at
http://windowsazure.com and start building
cloud applications with Windows Azure