Sudheer d socalcodecamp_10_16_2011

Uploaded on


More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Developing Applications for Windows Azure Platform Sudheer Dhulipalla Microsoft Corporation
  • 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. AgendaWHO WILL BENEFIT FROM TOPICS WHAT YOU’LL LEAVE WITHTHIS 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
  • 5. What is Windows Azure? QUEUE
  • 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
  • 7. Windows Azure App - Typical Architecture Web WorkerLB Role Role
  • 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
  • 9. WindowsAzure.Com
  • 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
  • 13. Windows Azure lets you manageapplications, not virtual machines.
  • 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 and start building cloud applications with Windows Azure