Szczegóły ebooka

Microsoft Azure: Enterprise Application Development. Straight talking advice on how to design and build enterprise applications for the cloud

Microsoft Azure: Enterprise Application Development. Straight talking advice on how to design and build enterprise applications for the cloud

Richard J. Dudley, Nathan A. Duchene, Richard James Dudley, Nathan Duchene

Ebook
Microsoft's Azure platform has proved itself to be a highly scalable and highly available platform for enterprise applications. Despite a familiar development model, there is a difference between developing for Azure and moving applications and data into the cloud. You need to be aware of how to technically implement large-scale elastic applications. In this book, the authors develop an Azure application and discuss architectural considerations and important decision points for hosting an application on Azure.

This book is a fast-paced introduction to all the major features of Azure, with considerations for enterprise developers. It starts with an overview of cloud computing in general, followed by an overview of Microsoft's Azure platform, and covers Windows Azure, SQL Azure, and AppFabric, discussing them with the help of a case-study.

The book guides you through setting up the tools needed for Azure development, and outlines the sample application that will be built in the later chapters. Each subsequent chapter focuses on one aspect of the Azure platform—web roles, queue storage, SQL Azure, and so on—discussing the feature in greater detail and then providing a programming example by building parts of the sample application. Important architectural and security considerations are discussed with each Azure feature.

The authors cover topics that are important to enterprise development, such as transferring data from an on-premises database to SQL Azure using SSIS, securing an application using AppFabric access control, blob and table storage, and asynchronous messaging using Queue Storage. Readers will learn to leverage the use of queues and worker roles for the separation of responsibilities between web and worker roles, enabling linear scale out of an Azure application through the use of additional instances. A truly elastic application is one that can be scaled up or down quickly to match resources to demand as well as control costs; with the practices in this book you will achieve application elasticity.
  • Microsoft Azure: Enterprise Application Development
    • Table of Contents
    • Microsoft Azure: Enterprise Application Development
    • Credits
    • About the Authors
    • Acknowledgement
    • Acknowledgement
    • About the Reviewer
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Introduction to Cloud Computing
      • What is an enterprise application?
      • What is cloud computing?
      • Some benefits of cloud computing
      • Some downsides of cloud computing
      • Cloud computing infrastructure
      • Cloudy skies ahead
      • Is cloud computing "enterprisey" enough?
      • Summary
    • 2. The Nickel Tour of Azure
      • Explaining Azure to the managers
      • Windows Azure
        • Compute service
        • Storage service
          • Blob Storage
          • Table Storage
          • Queue Storage
        • Azure Fabric Agent and Controller
      • SQL Azure
      • Windows Azure platform: AppFabric
      • Codename Dallas
      • Development Fabric
      • Considerations for the ASP.NET developer
      • How are Azure costs calculated?
        • Calculating Windows Azure pricing
        • Calculating SQL Azure pricing
        • Calculating AppFabric pricing
      • Summary
    • 3. Setting Up for Development
      • Downloading the tools
      • Configuring the local machine for development
      • Installing Windows Azure tools and SDK
      • Summary
    • 4. Designing our Sample Application
      • Project design
      • Integrating application with cloud features
      • Creating an Azure account
      • Summary
    • 5. Introduction to SQL Azure
      • Overview of SQL Azure
        • Manageability
          • Managing SQL Azure
            • Similarities
            • Differences
        • High availability
        • Scalability
        • Relational data model
        • Familiar development model
        • Whats the same in SQL Azure?
          • Data types
          • Database objects
          • Fully supported T-SQL commands
          • Partially supported T-SQL commands
          • SQL Server built-in functions
          • Multiple active result sets
        • What's different in SQL Azure?
          • Number of databases
          • Database objects
          • Service Broker, SQL Browser, and DTC
          • T-SQL commands
          • System functions
          • Data synchronization
      • Security
      • Development considerations
        • Managing maximum size
      • Management tools
        • SQL Azure portal
        • SSMS 2008 R2
        • Project Houston
        • Access 2010
      • Managing databases, logins, and roles in SQL Azure
      • Migrating schema and data
        • Manually scripting objects and data
        • SQL Azure Migration Wizard
        • SQL Server Integration Services (SSIS)
          • SQL Server Import and Export Wizard
          • Creating packages from scratch
          • DAC Packs
        • BCP
      • The Jupiter Motor's ERP system database and the Dealer Orders database
        • SQL Azure portal
      • Creating our database
      • Summary
    • 6. Azure Blob Storage
      • Blobs in the Azure ecosystem
      • Creating Blob Storage
      • Windows Azure Content Delivery Network
      • Blob Storage Data Model
      • Blob Storage
        • Representational State Transfer
        • The Blob Storage API
        • Working with containers using the REST interface
        • Working with containers using the StorageClient library
        • Working with blobs
      • Summary
    • 7. Azure Table Storage
      • Table Storage versus database tables
      • Some of the good stuff
      • Limitations of Table Storage
      • Adding Table Storage to an Azure account
      • Accessing Table Storage
        • Working with tables
        • Working with entities
          • Entity Group Transactions
      • Choosing a PartitionKey
      • Exception handling
        • Retry on exceptions
        • Exceptions on retry
        • Concurrency conflicts
        • Table errors and HTTP response codes
      • Summary
    • 8. Queue Storage
      • The ins and outs of queues
        • Reasons to use a queue
        • Invisibility time and failover
        • Special handling for binary data
      • Working with queues
        • Listing queues
          • REST API
          • Client library
        • Creating queues
          • REST API
          • Client library
        • Deleting queues
          • REST API
          • Client library
        • Setting metadata
          • REST API
          • Client library
        • Getting metadata
          • REST API
          • Client library
      • Working with messages
      • Summary
    • 9. Web Role
      • The role of the web
      • Web roles, déj vu, and ASP.NET
        • Creating the solution and web role project
      • Application diagnostics and logging in the cloud
      • Jupiter Motors web role
        • How do we get there? Here's our code!
          • Additional stored procedures used by the web role
      • Summary
    • 10. Web Services and Azure
      • Web services and WCF
      • Securing WCF
      • Jupiter Motors web service
      • Creating a new WCF service web role
      • Our WCF web services
        • ERP service interface IERPService.vb
          • Service Contract
          • Operation Contract
          • Data Contract
          • Using ADO.NET datasets
        • ERP service implementation ERPService.svc.vb
          • LoadStartupData service function
          • GetOrderStatusForOrder service function
          • AddOrderStatusUpdateToQueue service function
          • GetOrdersNotComplete, GetOrderStatuses, and CreateDataSetFromDataReader class functions
      • DataTable "gotcha"
      • Web Service Definition Language (WSDL) "gotcha"
      • Summary
    • 11. Worker Roles
      • Worker role internals
      • Uses of worker roles
        • Externally facing worker roles
        • Thread-pool pattern
      • Managing worker roles
        • Best practices
      • The Jupiter Motors worker role
        • Building the Jupiter Motors worker role
      • Summary
    • 12. Local Application for Updates
      • Brief overview of the application
      • JupiterMotorsERP local application
        • Adding App.config code
      • Testing our application
      • Summary
    • 13. Azure AppFabric
      • Introduction to Azure AppFabric
      • Access Control
        • Authentication versus authorization
        • Basics of Access Control configuration
        • Requests and Simple Web Tokens
        • Configuring Access Control for Jupiter Motors
          • Configuring Azure AppFabric Portal
          • Configuration tools
          • Creating a Token Policy
          • Configuring a Scope
          • Configuring an Issuer
          • Configuring a Rule
          • Configuring a client application for Access Control
            • Requesting the Token
          • Using Access Control in a web service
      • Service Bus
        • Service Bus as message relay
        • Service Bus as connection broker
      • Summary
    • 14. Azure Monitoring and Diagnostics
      • Azure Diagnostics­ under the hood
      • Enabling diagnostic logging
        • Changing the location of the logging configuration
      • Logging config data in our application
      • Transferring and persisting diagnostic data
      • Accessing stored data
      • Summary
    • 15. Deploying to Windows Azure
      • Setting up hosted service in Windows Azure
        • Setting Hosted Service identifiers
        • Affinity Groups geographically grouping services
      • Preparation application for deployment
      • Ready for deployment
      • Changing live configuration
      • Upgrading the deployment
      • Running the deployment
      • Summary
      • Conclusion
    • Index
  • Tytuł: Microsoft Azure: Enterprise Application Development. Straight talking advice on how to design and build enterprise applications for the cloud
  • Autor: Richard J. Dudley, Nathan A. Duchene, Richard James Dudley, Nathan Duchene
  • Tytuł oryginału: Microsoft Azure: Enterprise Application Development. Straight talking advice on how to design and build enterprise applications for the cloud
  • ISBN: 9781849680998, 9781849680998
  • Data wydania: 2010-12-09
  • Format: Ebook
  • Identyfikator pozycji: e_3as3
  • Wydawca: Packt Publishing