Successfully reported this slideshow.

Introduction to Windows Azure AppFabric Applications

2,041 views

Published on

Introductory presentation on Windows Azure AppFabric Applications. As presented at the Silicon Valley Code Camp on 10/9/2011.

Published in: Technology
  • Be the first to comment

Introduction to Windows Azure AppFabric Applications

  1. 1. Windows AzureAppFabric Applications<br />Neil Mackenzie<br />
  2. 2. Who Am I<br />Neil Mackenzie<br />Windows Azure MVP<br />Book: Microsoft Windows Azure Development Cookbook<br />Blog: http://convective.wordpress.com/<br />Twitter: @mknz<br />
  3. 3. Content<br />Windows Azure Platform<br />Application Composition<br />Development Environment<br />Production Environment<br />
  4. 4. Platform as a Service<br />Windows Azure<br />Compute, storage, connectivity<br />Scalable<br />Self-healing<br />Application-hosting environment:<br />Websites  web role<br />Services  worker role<br />Operating system  VM role<br />
  5. 5. Windows Azure Platform<br />
  6. 6. AppFabric Applications<br />Windows Azure AppFabric Applications is a Community Technology Preview supporting the composition of services into an application in a manner that simplifies the development and deployment of interacting services.<br />
  7. 7. What you get in CTP 1<br />AppFabric Developer Tools<br />Application composition<br />Package creation<br />AppFabric Application Manager<br />Deployment<br />Monitoring<br />AppFabric Container<br />Runtime environment<br />
  8. 8. Service Composition<br />Services<br />Properties<br />Endpoints<br />Service references<br />Link endpoints<br />Container Topology<br />Scalability (instance count)<br />Monitoring (trace level)<br />
  9. 9. Modeled Properties<br />Referenced services include the following properties:<br />Service-specific definition<br />ProvisionAction<br />UnprovisionAction<br />E.g. SQL Azure ProvisionAction specifies a DACPAC that can provision a SQL Azure database<br />
  10. 10. Referenced (External) Services<br />The following external services are supported:<br />Service Bus Queue<br />Service Bus Topic<br />Service Bus Subscription<br />Windows Azure AppFabric Caching<br />SQL Azure<br />Windows Azure Blob Service<br />Windows Azure Table Service<br />Use MEF to add other services (e.g. Bing Maps)<br />
  11. 11. Service Groups<br />AppFabric Applications<br />AppFabric Container (stateless)<br />Stateful AppFabric Container<br />Web Container<br />Each service group deployed to a container<br />Horizontal scalability at the container level<br />No vertical scalability in CTP1<br />
  12. 12. AppFabric Container<br />Contains the following stateless services<br />Code<br />WCF Service<br />Workflow<br />
  13. 13. Stateful AppFabric Container<br />Contains the following stateful services:<br />Task scheduler<br />WCF Stateful services<br />
  14. 14. Web Container<br />Contains the following web-based services:<br />ASP.NET<br />WCF Domain Service – Web (for Silverlight)<br />WCF Service - Web<br />
  15. 15. Adding a Service Reference<br />New file: ServiceReferences.g.cs<br />Contains a class named ServiceReferences<br />Contains method pair for each service reference:<br />public static AppFabricContainer1.StatelessContract1.Service1.IService1 CreateImport1();<br />Use:<br />CloudTableClient tableClient = ServiceReferences.CreateCloudTableClient();<br />tableClient.CreateTableIfNotExist(tableName);<br />
  16. 16. Referenced Service Objects<br />
  17. 17. Development Environment<br />AppFabric Application storage (SQL Express)<br />File system (C:AF, C:AFSdk)<br />Windows Azure compute emulator<br />ContainerGatewayWorkerRole (1)<br />ContainerStatefulWorkerRole (2)<br />ContainerStatelessWorkerRole (2)<br />WebRole<br />Windows Azure storage emulator<br />
  18. 18. Development Demo<br />Visual Studio Tooling<br />
  19. 19. Applications Manager<br />Applications Dashboard<br />Overview of the deployed applications<br />Admin log<br />Displays deployment history<br />Application<br />Containers<br />Endpoints<br />Logs<br />
  20. 20. Cloud - Demo<br />Applications Manager<br />
  21. 21. How to get it<br />Download Windows Azure AppFabricJune SDK CTP – June Update<br />http://bit.ly/o1udby <br />CTP can be used locally without participation in the CTP<br />Apply to join the CTP at:<br />https://portal.appfabriclabs.com/<br />

×