You are previewing Windows Azure Programming Patterns for Start-ups.
O'Reilly logo
Windows Azure Programming Patterns for Start-ups

Book Description

Create easy solutions using Windows Azure services to build your business with step-by-step guide

  • Explore the different features of Windows Azure and its unique concepts.

  • Get to know the Windows Azure platform by code snippets and samples by a single start-up scenario throughout the whole book.

  • A clean example scenario demonstrates the different Windows Azure features.

In Detail

Leverage different Windows Azure components together with your existing Microsoft .NET skills to fully take advantage of the power of Windows Azure. Use this book to start small and end big by creating and using storage, cloud services, sql databases, networking, caching and other innovative technology to realize your first top-class Windows Azure service!

"Windows Azure for Start-ups" is an incremental guide that will take you from the essentials of the Windows Azure platform up to the realization of your own cloud services running on the platform. You will learn how to apply different technologies of the Windows Azure platform with the help of examples all focusing on one single fictitious start-up scenario.

This book is centred around a fictitious company called Geotopia that wants to build a brand new social network by using the Windows Azure platform. It will take the reader from the theory and rationale behind Windows Azure right to building services and coding C#.

The books starts by outlining the concepts of Windows Azure. It then demonstrates how to set up a development environment and how to build your application by using different storage mechanisms, applying different features from the Windows Azure platform and ending with the newest features explained from the latest release.

Windows Azure for Startups will help you take full advantage of the Windows Azure platform and bring your new service online as quickly as possible.

Table of Contents

  1. Windows Azure Programming Patterns for Start-ups
    1. Windows Azure Programming Patterns for Start-ups
    2. Credits
    3. About the Author
    4. About the Reviewers
    5. www.PacktPub.com
      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
    6. 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. Errata
        2. Piracy
        3. Questions
    7. 1. The Concepts of Windows Azure
      1. Red Dog
        1. Windows Azure announcement
      2. A quick start on Windows Azure
        1. How it works internally
        2. First steps
        3. Creating and deploying a website on Windows Azure
        4. First deployment
        5. Upgrade domains
        6. Fault domains
        7. Fabric Controller
          1. Internals of a node
          2. Deployment steps
      3. Core components of Windows Azure
        1. Compute
          1. Web roles
          2. Worker roles
          3. Virtual machine roles
        2. Database
          1. SQL Database
          2. Data Sync
        3. Storage
          1. Binary Large Object
          2. Table Storage
          3. Queue
          4. Windows Azure drive
        4. Business analytics
        5. Service Bus
        6. Content delivery network
        7. Caching
        8. Virtual network
          1. Windows Azure Connect
          2. Windows Azure Traffic Manager
        9. Windows Azure Active Directory
        10. Marketplace
      4. Summary
    8. 2. A Startup Scenario
      1. Introduction
      2. BizSpark
        1. Program roles
        2. Enrolling into the program
      3. Geotopia's goals
      4. Geotopia prototype
        1. TFS in the cloud
          1. Connecting to TFS Preview
            1. Querying Tasks
      5. Summary
    9. 3. Create Your Solution
      1. Solution structure
        1. Organizing a solution in VS 2010
          1. Compute and storage emulators
          2. Bing Maps
          3. Adding Silverlight to cloud
          4. Embedding Bing Maps
        2. Setting up TFS preview
          1. Connecting with TFS Preview
          2. Publishing to Windows Azure
      2. Summary
    10. 4. Storing Your Data
      1. Storage
        1. What is Windows Azure storage?
        2. Blobs
          1. Table storage
          2. Queues
        3. Inside storage
          1. Storage architecture
          2. Storage availability
            1. Fault domains
            2. Upgrade domains
          3. Replication
          4. Partitioning
          5. Storage metrics
      2. Table storage usage
        1. A closer look at tables
          1. Choose the right key
            1. Keys for scaling
            2. Keys for transactions
        2. Geotopia data model
          1. Adding an entity
          2. Querying
            1. Continuation tokens
          3. Best practices
          4. Table storage summary
      3. Queue usage
        1. A closer look at the queue
          1. Creating a queue
          2. Inserting a message
          3. Retrieving a message
          4. Queue operations
          5. Idempotency
      4. Using blobs
        1. File transfer
          1. Uploading a file
          2. Downloading the file
      5. Storage best practices
        1. Use exponential backoff
      6. Summary
    11. 5. SQL Database
      1. Overview
        1. Setting up SQL databases
      2. Guidelines
      3. Best practices
        1. Encryption and security
          1. Encryption demo
      4. Data Sync
        1. Supported datatypes in Data Sync
        2. Securing Data Sync
        3. Authentication
        4. Setting up a Data Sync environment
      5. Summary
    12. 6. Key Features Explained
      1. Service Bus
        1. Getting started
        2. Queues
          1. Working with queues
          2. A sample scenario
            1. Preparing the project
            2. Sending messages
            3. Receiving messages
            4. Cross-domain communication
          3. Comparison
            1. Background information
        3. Topics and subscriptions
          1. Preparing the project
          2. Using filters
      2. Windows Azure Caching
        1. Caching capabilities
        2. Setting it up
        3. Caching examples
          1. Adding items to the cache
          2. Session state and output caching
      3. Windows Azure Connect
        1. Setting it up
          1. Enabling a web role with Connect
          2. Managing Connect
          3. Testing connectivity
          4. Other Connect capabilities
      4. Access Control Service
        1. Getting started
          1. Adding an identity provider
          2. Adding a relying party
          3. Application integration
          4. Integrating with Facebook
            1. Using FederatedAuthentication
            2. Displaying information about me
      5. Traffic Manager
        1. Setting it up
          1. Round robin
          2. Performance
          3. Failover
          4. Testing the policies
          5. Failover scenario
      6. Summary
    13. 7. The Billing Aspects of Windows Azure
      1. Basic billing details
        1. Compute
        2. Windows Azure SQL databases
        3. Storage
        4. Bandwidth
        5. Content delivery network
        6. Cache
        7. Service Bus
        8. Access Control Service
      2. Pricing
        1. Calculator
        2. Purchase options
        3. Member offers
          1. MSDN subscribers
          2. MPN members
            1. Cloud Essentials
            2. Cloud Accelerate
          3. BizSpark members
      3. How much we use
        1. Bandwidth
        2. What is counted as a transaction
          1. How to reduce the number of transactions
        3. When are transactions billed
        4. Estimate capacity
      4. Implementing your own billing tracker
        1. Enabling analytics
        2. Request logging
          1. Example transactions
          2. Blob capacity
      5. Summary
    14. 8. Windows Azure Patterns
      1. Enterprise Library for Windows Azure
        1. EntLib and Azure compatibility
        2. EntLib Integration Pack
          1. Autoscaling
          2. Transient fault handling
          3. Blob configuration
          4. PowerShell Cmdlets
          5. Protected configuration provider
        3. Windows Azure autoscaling
          1. Growth model
          2. Applying WASABi
          3. Key concepts of WASABi
          4. Configure autoscaling
          5. Worker host
          6. Setting rules
            1. Constraint rules
            2. Reactive rules
          7. Throttling
          8. Service information store
          9. Metronome
          10. Data collection
          11. Data points store
          12. Rule evaluation
            1. Conflicting rules
          13. The scaler
          14. The tracker
          15. The stabilizer
          16. Customizing WASABi
          17. Blob configuration
        4. PowerShell cmdlets
        5. Transient fault handling
          1. The Transient Fault Handling Application Block
          2. Applying transient fault handling
      2. The Gatekeeper pattern
        1. The KeyMaster
      3. Summary
    15. 9. Application Lifecycle Management
      1. ALM overview
        1. Governance
        2. Development
        3. Operations
      2. ALM tooling
        1. Planning and tracking
        2. Writing, unit testing, debugging, analyzing, and profiling
        3. Build
          1. Defining a Build
          2. Queue build
          3. Review build
      3. Application Lifecycle Management on Windows Azure
        1. Step 1: Team development
        2. Step 2: Build, Unit test, Deploy, UItest flow, and manual test
        3. Step 3: Release drop
        4. Step 4: Operations
      4. Summary
    16. 10. Windows Azure Security
      1. Security development lifecycle
        1. Security roles
        2. Security maturity
        3. Security activities
          1. Training
          2. Requirements
          3. Design
          4. Implementation
          5. Verification
          6. Release
      2. SDL in Windows Azure
        1. Requirements
        2. Design
        3. Implementation
        4. Verification
        5. Release
      3. Microsoft Global Foundation Services
        1. Certifications
        2. Privacy
        3. Platform security
      4. Adding more security
      5. Summary
    17. 11. What's New in Windows Azure
      1. Overview
      2. Virtual machines
        1. Creating a virtual machine
        2. Connecting to the VM
        3. Setting up a VHD
      3. Virtual network
        1. Creating a virtual network
      4. Management portal
      5. Media services
        1. Setting it up
        2. Using media services
          1. An example displaying the use of media services
            1. Uploading
            2. Converting
            3. Iterating
            4. Downloading
      6. Summary