You are previewing Microsoft Silverlight 5 and Windows Azure Enterprise Integration.
O'Reilly logo
Microsoft Silverlight 5 and Windows Azure Enterprise Integration

Book Description

A step-by-step book and eBook guide to creating and running scalable Silverlight 5 Enterprise Applications on the Windows Azure platform.

  • This book and e-book details how enterprise Silverlight applications can be written to take advantage of the key features of Windows Azure to create scalable applications

  • Provides an overview of the Windows Azure platform and how the different technologies can be integrated within your enterprise application

  • Examines ways that distributed asynchronous systems can be created to allow scalable processing

  • Learn from a distinguished author with tips, tricks, and hands on experience to create scalable enterprise Silverlight applications that run on the Windows Azure platform

In Detail

Microsoft Silverlight is a powerful development platform for creating rich media applications and line of business applications for the web and desktop.

Microsoft Windows Azure is a cloud services operating system that serves as the development, service hosting, and service management environment for the Windows Azure platform.

Silverlight allows you to integrate with Windows Azure and create and run Silverlight Enterprise Applications on Windows Azure.

This book shows you how to create and run Silverlight Enterprise Applications on Windows Azure.

Integrating Silverlight and Windows Azure can be difficult without guidance. This book will take you through all the steps to create and run Silverlight Enterprise Applications on the Windows Azure platform. The book starts by providing the steps required to set up the development environment, providing an overview of Azure. The book then dives deep into topics such as hosting Silverlight applications in Azure, using Azure Queues in Silverlight, storing data in Azure table storage from Silverlight, accessing Azure blob storage from Silverlight, relational data with SQL Azure and RIA, and manipulating data with RIA services amongst others.

Table of Contents

  1. Copyright
  2. Credits
  3. About the Author
  4. Acknowledgement
  5. About the Reviewers
    1. Support files, eBooks, discount offers and more
      1. Why Subscribe?
      2. Free Access for Packt account holders
      3. Instant Updates on New Packt Books
  7. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. Conventions
    5. Reader feedback
    6. Customer support
      1. Downloading the example code
      2. Errata
      3. Piracy
      4. Questions
  8. 1. Getting Started
    1. Installation
      1. Visual Studio 2010
      2. Web platform installer
    2. Useful tools
      1. Official Windows Azure Tools for Visual Studio
      2. Azure Storage Explorer
      3. Expression Blend
      4. Silverlight Toolkit
      5. Telerik Silverlight controls
      6. Silverlight Spy
      7. LINQPad
    3. Creating a Windows Azure account
    4. Deploying to Windows Azure from Visual Studio 2010
      1. Creating the hosting service
      2. Creating the storage account
      3. Deploying applications onto Azure servers
      4. Creating certificates to authenticate deployment
    5. Summary
  9. 2. Introduction to Windows Azure
    1. Windows Azure
      1. Main components of Windows Azure
      2. Windows Azure compute services
        1. Role types
        2. Example usage of roles
        3. Compute fabric
        4. Things to be aware of when working with role instances
        5. Compute instance sizes
      3. Windows Azure storage services
      4. SQL Azure
      5. Windows Azure AppFabric
    2. Developing applications locally
    3. Summary
  10. 3. Hosting Silverlight Applications in Azure
    1. Combining Silverlight and Windows Azure projects
      1. Creating a Silverlight or Azure solution
      2. Running an Azure application on the Azure compute emulator
    2. Consuming an Azure-hosted WCF service within a Silverlight application
    3. Configuring the number of web roles
    4. Summary
  11. 4. Using Azure Queues with Silverlight
    1. Fundamentals of Azure storage services
      1. Accessing storage services through REST APIs
      2. Accessing storage services with storage client library
      3. Using shared keys to access storage services
      4. Collocation of storage and computer services
      5. Local storage emulator
    2. Azure Storage Queue service
      1. Queue service operations
    3. Using queues for application scalability
      1. Message durability
    4. Queuing work from a Silverlight application
    5. Handling poison messages
    6. Summary
  12. 5. Accessing Azure Blob Storage from Silverlight
    1. Azure Blob storage
      1. Available commands
      2. Behind the scenes
    2. Creating, listing, and displaying files with Silverlight
      1. Generating files with a web role and displaying in Silverlight
      2. Retrieving and displaying the files from Azure Blob storage in Silverlight
    3. Using the shared access signatures to upload from Silverlight
    4. The Azure Content Delivery Network (CDN)
      1. Benefits of using CDN with Silverlight
      2. Enabling the CDN on an Azure storage account
      3. Location of CDN edge nodes
    5. Summary
  13. 6. Storing Data in Azure Table Storage from Silverlight
    1. Azure Table storage
      1. Accessing Azure Table storage
      2. Querying Azure Table storage
      3. Under the covers
      4. Partitions
      5. Flexible schema
      6. Concurrency and transactions
    2. Azure Table storage versus SQL Azure
      1. Scalability
      2. So which one should you choose
    3. Using Azure Table storage from Silverlight
      1. Interacting with Table storage and creating a WCF service
        1. Creating the Silverlight application
    4. Summary
  14. 7. Relational Data with SQL Azure and Entity Framework
    1. SQL Azure
      1. SQL Azure versus Table storage
      2. Underlying architecture
      3. Sharding data with SQL Azure Federations
    2. What Entity Framework is
      1. Development options
    3. Using SQL Azure in Silverlight
      1. Configuring SQL Azure
      2. Creating the Entity Framework model
      3. Creating the WCF service
      4. Creating the Silverlight application
    4. Summary
  15. 8. RIA Services and SQL Azure
    1. RIA Services
      1. Architecture
      2. Querying a domain service
      3. Tracking changes
      4. RIA Services toolkit
    2. Using Silverlight with RIA Services, SQL Azure, and Entity Framework
      1. Configuring SQL Azure
      2. Entities
      3. Domain service
      4. Creating the first Silverlight screen
      5. Using a Domain Data Source to access data
      6. Paging, sorting, filtering, and child objects
    3. Under the covers of RIA services
    4. Summary
  16. 9. Exposing OData to Silverlight Applications
    1. OData
      1. Value for the enterprise
      2. Accessing data
      3. URI construction
      4. OData versus RIA Services
    2. Consuming OData services
      1. Using Internet Explorer
      2. OData Explorer
      3. Using Silverlight
      4. Consuming OData on other platforms
    3. Sharing data by using OData
      1. Creating your own OData services
      2. RIA Services domain service with Entity Framework and SQL Azure
      3. WCF Data Services with SQL Azure
    4. Summary
  17. 10. Web-scale Considerations
    1. Asynchronous processing and componentization
      1. Naive website example
      2. Asynchronous website example
    2. CQRS (Command Query Responsibility Segregation)
      1. Additional resources
      2. Implementing CQRS with Azure
    3. Globalizing your applications
    4. Summary
  18. 11. Application Authentication
    1. Windows Identity Foundation and Azure Access Control Service
    2. ASP.NET providers
    3. Using the SQL Azure provider
    4. Using the Azure Storage provider
    5. Windows authentication
    6. Summary
  19. 12. Using Azure AppFabric Caching to Improve Performance
    1. Data caching
      1. Caching lifecycle
      2. Caching issues
    2. Azure AppFabric caching
    3. Caching raw data in AppFabric
      1. Provisioning the AppFabric cache service
      2. Creating the RIA Services application
      3. Implementing caching
    4. ASP.NET session caching
    5. Summary