Sudheer d desertcodecamp_11_05_2011

277 views

Published on

Code Camp Presentation on Azure Applications Development

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
277
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Talk about non Visual Studio tools and publishing outside of VS
  • Repeat intro slide and change the summary to what you presented
  • Sudheer d desertcodecamp_11_05_2011

    1. 1. Developing Applications for Windows Azure Platform Sudheer Dhulipalla Microsoft Corporation
    2. 2. AgendaWHO WILL BENEFIT FROM TOPICS WHAT YOU’LL LEAVE WITHTHIS TALK• Cloud application • Windows Azure Basics • Building applications developers with Windows Azure • Windows Workflow Platform• Developers building on- foundation Basics premise .NET and non • Azure platform .NET applications • Service Bus (Messaging capabilities leveraging cloud services Service) Basics • Workflow service in the cloud • Web (ASP), Worker (workflow) sample with Service Bus Queues
    3. 3. 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
    4. 4. What is Windows Azure? QUEUE
    5. 5. Windows Azure App - Typical Architecture Web WorkerLB Role Role (ASP, Web Services, (Web Services, Workflows, custom Workflows, custom code etc.) code etc.) Service Bus, Storage, Cache etc.
    6. 6. WindowsAzure.Com
    7. 7. 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
    8. 8. WINDOWS WORKFLOW FOUNDATION
    9. 9. What is Workflow Foundation?• WF4 provides declarative Workflow authoring of programs that coordinate work Activity Library• Activities• Runtime• Tooling• Significant Features WF Runtime Extensions – Web Services Integration Persistence – Flowchart style Workflows Tracking – Better Dataflow … – Better programming model Host (.exe, IIS/WAS, WF Service/Server, …) – State machine Tooling• Part of .NET framework VS VS Rehosted Designer Debugger Designer
    10. 10. Code Walkthrough – Workflow Samples #2• Visual Studio Integration• Project types• Hello world sample• Procedural Workflow sample• Web Services (WCF) integration
    11. 11. Example Workflow Design Patterns in Azure• WF is useful in building long running applications (long running business logic) in worker role• WF can also run in Web Role as Workflow Service• Example patterns – ASP (Web Role) OR WCF (Web Role)  • Queues or Topics  • Workflow (Worker role)  • SQL Azure / Other Services – Workflow Service (Web Role)  • SQL Azure / Other services
    12. 12. Code Walkthrough - Sample #3• Publishing a Workflow Web service in the cloud – Creating a WCF service WebRole project and adding workflow service to it – Publishing the service and accessing the service operations from a WCF test client Azure Cloud Web Role Running Local Console App Workflow Service
    13. 13. WINDOWS AZURE SERVICE BUS(A MESSAGING SERVICE IN THE CLOUD)
    14. 14. Brokered Messaging Entities: Queues Queue• Durable Queues• Scheduled messages• Session based message streams• Transactions support• Sequential Message Log• HTTP / REST / WCF / .NET API support
    15. 15. 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
    16. 16. Code Walkthrough - Sample #4• Publishing a project with web / worker roles – Web role hosting a web page – Worker role hosting a Workflow – Web to worker communication over Service Bus Queues – Local debugging and Dev Fabric Azure Cloud Web Role Worker Role Running ASP running Page - workflow – Local Browser messaging messaging through through Queues SB Queues Queues
    17. 17. Windows Azure lets you manageapplications, not virtual machines.
    18. 18. Summary• We covered the basics of Windows Azure, Windows Workflow and Service Bus• We walked through a few Azure code samples (hosting a web page, hosting workflow in the web role and hosting workflow in the worker role and using Service Bus queues for communication)• Developers can use Visual Studio, .NET frameworks, Azure 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

    ×